-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix fatal errors with deleteOptionsAndSelections #7711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix fatal errors with deleteOptionsAndSelections #7711
Conversation
@kassner unfortunately, we don't process PRs to 2.1 branch at the moment. Please re-create it against develop branch. |
@vrann can you reopen? GitHub allows to rebase the PR from the interface. |
@kassner can you merge with the latest develop? There are conflicts right now. |
a506dca
to
1886e26
Compare
@vrann Done. |
@kassner trying to reproduce the issue. Can you please provide steps and some sample data (i.e. file from which to import) |
@vrann I can provide a descriptive way of reproducing it next week, but is quite easy to see the problem at naked eye: |
@vrann Well, I can't provide a working example, because it looks like this part is never executed in normal conditions, since Can, instead, I remove this code on this PR, since it isn't used at all? If not, just close this PR. We have this issue internally, but Thanks! |
@kassner I see that the joined table I would keep that section because DELETE behavior can always be set to entity model before invocation of saveData() |
@vrann The join is correct, but that is only used to populate magento2/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php Lines 645 to 648 in c30a05a
This code is deleting from |
Hi @kassner |
@okorshenko I will not put more hours into this issue, up to you to merge or close. |
Hi @kassner We will add tests on our side. Thank you for your contribution. |
[EngCom] Public Pull Requests - MAGETWO-70817: remove redundant else and use strict check #10271 - MAGETWO-70787: update phpserver to support versioned static urls #10250 - MAGETWO-70764: Fix overwrite default value image/file with NULL #10253 - MAGETWO-70761: Show values that are duplicate in attribute error msg #10213 - MAGETWO-70758: Fix for #4530 $product->getRatingSummary() always returns null […] #10248 - MAGETWO-70706: simplify product lists #2 #9019 - MAGETWO-70669: Fix fatal errors with deleteOptionsAndSelections #7711 - MAGETWO-70464: Fix shipping address can use for billing #10130 - MAGETWO-69913: magento/magento2 #9196 - Products ordered report doesn't show simple (child) products of configurable products #9908
@magento-team This PR Doesn't appear to be in 2.2. Should it be backported? |
Magento\BundleImportExport\Model\Import\Product\Type\Bundle::deleteOptionsAndSelections
had no love during code convertion. Throws fatal errors because columns does not exist. Method refactored to work as expected.