Skip to content

magento/magento2#12705: Integrity constraint violation error after re… #13036

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

Merged
merged 3 commits into from
Jan 11, 2018

Conversation

vinayshah
Copy link
Member

@vinayshah vinayshah commented Jan 7, 2018

…ordering product with custom options

  • Fixed issue by updating options if parent item is same for more than one product
  • Fixed issue for reordering in admin while checking the availability of product, which is not available in case of associated product.

Description

Generated Pull Request for fixing the issue regarding custom options in a configurable product with the same configuration but different custom option values in the case of reordering. Also fixed an issue along with for checking product availability while reordering from admin.

Fixed Issues (if relevant)

  1. magento/magento2# #12705: Integrity constraint violation error after reordering product with custom options

Manual testing scenarios

  1. Create a configurable product from admin with set of configurable options and add a custom option specific to radio option and values
  2. Add 2 product to cart with same configurable options, but different custom options value.
  3. Place an order with the same.
  4. Then reorder the same order either from Customer My Account or From Admin, the product should get reordered with all the configurable options and it's custom options.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

…product with custom options

- Fixed issue by updating options if parent item is same for more than one product
- Fixed issue for reorder in admin while checking the availability of product, which is not available in case of associate product.
…product with custom options

- Fixed issue by updating options if parent item is same for more than one product
- Fixed issue for reorder in admin while checking the availability of product, which is not available in case of associate product.
- Fixed Null coalescing operator issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Component: Catalog Component: Sales Fixed in 2.2.x The issue has been fixed in 2.2 release line Progress: accept Release Line: 2.2 Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants