Skip to content
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

[Forwardport] Correctly save Product Custom Option values #4

Closed
wants to merge 229 commits into from

Conversation

JeroenVanLeusden
Copy link
Owner

Original Pull Request

magento#13569

Description

This occurred because the same value object is used for saving all values. After the save updateStoredData() is called and is used in prepareDataForUpdate().
https://github.com/magento/magento2/blob/3561b6614eeafb70cbcbf0dc0254359b857af3d4/lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php#L718-L733

Fixed Issues (if relevant)

  1. Custom option values do not save correctly magento/magento2#5067: Custom option values do not save correctly

Manual testing scenarios

  1. Install module ReachDigital_CustomOption.zip
  2. An extra column as added to the Product Custom Options (http://cloud.h-o.nl/pP3N).
  3. Uncheck all Changes Appearance checkboxes and save product.
  4. Only the first checkbox is saved.

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)

Oleksandr Gorkun and others added 30 commits May 21, 2018 14:25
…lied on shipping

- added functional test to cover the bug fix
…lied on shipping

- updated correct testCaseId
… using match by products rule - clone category IDs

MC-2269: [Visual Merchandiser] Admin should be able to assign products using match by products rule - sku equal
MC-2270: [Visual Merchandiser] Admin should be able to assign products using match by products rule - name contains
MC-2275: [Visual Merchandiser] Admin should be able to assign products using match by products rule - price and quantity

- added mftf tests

(cherry picked from commit c1a53ac)
… a percentage of original (for simple product)

 - Includes MC-60, MC-69, and MC-93
… a percentage of original (for simple product)

 - Reindex for ee stability
… a percentage of original (for simple product)

 - Flush cache after reindexing
…roduct position in the category by editing Position field in grid mode - move in the middle within same page

- added mftf tests
…rt without selecting options

- Fixed code review feedback
magento-engcom-team and others added 25 commits July 11, 2018 08:58
…_Sales and Magento_Paypal magento#16698

 - Merge Pull Request magento#16698 from mageprince/magento2:mageprince-2.3-patch-fix-sales-paypal
 - Merged commits:
   1. f4496e9
   2. a6a0d5b
[borg] MAGETWO-91710: Creditmemo Grand Total is incorrect if discount is applied on shipping
…nto#16569

 - Merge Pull Request magento#16569 from arnoudhgz/magento2:feature/make-related-products-in-checkout-configurable
 - Merged commits:
   1. 516566a
   2. adcb99d
Accepted Public Pull Requests:
 - magento/graphql-ce#114: Mutations Prototype (POC) magento#74 (by @paliarush)
 - magento#16699: Declare module namespace before template path in Magento_Theme,  Magento_Newsletter and Magento_Tax (by @mageprince)
 - magento#16701: Declare module namespace before template path in all other modules (by @mageprince)
 - magento#16698: Declare module namespace before template path in Magento_Sales and Magento_Paypal (by @mageprince)
 - magento#16687: [Forwardport] Corrected function comment (by @sanganinamrata)
 - magento#16663: [Forwardport] Fixed Issue magento#11354 Merged CSS file name generation (by @mageprince)
 - magento#16588: [Forwardport] Fix of invalid price for integer currencies when amount less than group size (by @vkublytskyi)
 - magento#16562: [Forwardport] Coupon API not working for guest user (by @gelanivishal)
 - magento#16630: [Forwardport] Small refactoring to better code readability (by @ronak2ram)
 - magento#16613: Update Israeli ZIP code mask, 7 digits instead of 5 ,according to the� (by @gelanivishal)
 - magento#16569: Make it possible to disable cross-sell on cart page (by @arnoudhgz)
 - magento#16487: [Forwardport] Prevent layout cache corruption in edge case (by @gelanivishal)


Fixed GitHub Issues:
 - magento#11354: Merged CSS file name generation (reported by @pmoreno1980) has been fixed in magento#16663 by @mageprince in 2.3-develop branch
   Related commits:
     1. 2816764
     2. 2d31c1d
     3. e7677e8
     4. ca3c79c
     5. 311f8ca
     6. 1782c54
     7. 94e0e25
     8. 831e58c
     9. 742ad8c

 - magento#11717: Wrong price amount on product page (reported by @HirokazuNishi) has been fixed in magento#16588 by @vkublytskyi in 2.3-develop branch
   Related commits:
     1. e2c4aca

 - magento#14056: Coupon API not working for guest user (reported by @gnanasekaranl) has been fixed in magento#16562 by @gelanivishal in 2.3-develop branch
   Related commits:
     1. 1acd06f
     2. 2651be3
[borg] MAGETWO-64854: Incorrect Refund Logic with Enterprise Rewards can allow for double-refunds
@JeroenVanLeusden JeroenVanLeusden deleted the 2.3-develop-PR-port-13569 branch July 18, 2018 20:01
JeroenVanLeusden pushed a commit that referenced this pull request Dec 12, 2018
magento 2.3-develop:update branch
JeroenVanLeusden pushed a commit that referenced this pull request Jan 3, 2019
JeroenVanLeusden pushed a commit that referenced this pull request Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet