-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento_Bundle fails with successive programatically calls to add to cart #7763
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
Magento_Bundle fails with successive programatically calls to add to cart #7763
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 please merge with the latest develop? |
5b24902
to
fbfd7ce
Compare
@vrann done. |
@kassner trying to reproduce the issue, can you please provide steps? |
@vrann Using Magento's sample data, you can go simulate with this controller:
You might need to adjust the |
Hi @kassner
it is clear that
Closing this Pull Request for now. Please, let us know if you would like to work on this refactoring so that we can discuss implementation details and design. |
FIX: Magento\Bundle\Model\Product\Type::_prepareProduct cannot be called twice
with different product selections, throws fatal error:
PHP Fatal error: Uncaught Error: Call to a member function getPosition() on
null in /var/www/html/vendor/magento/module-bundle/Model/Product/Type.php:937