-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: ProductComponent: BundleIssue: ready for confirmationPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions (*)
- Magento version 2.4.3
- Inventory enabled
- Bundle product with a lot of options (200 to 500)
Steps to reproduce (*)
- Enable the inventory
- Create a bundle product with 200+ options (children)
Expected result (*)
- Product save quickly as usual
- The indexes are updated for 201 products
Actual result (*)
- The plugin
ReindexSourceItemsAfterSaveBundleSelectionPlugin
of the modulemodule-inventory-bundle-product-indexer
is called after each saveChild of\Magento\Bundle\Model\LinkManagement
and reindex all the options and the main product. That means for a bundle product with 200 options, the 200 options get reindexed 200 times ! 200 reindex requests of 201 products. - The save takes more than 3 to 5 minutes and the server timeout. We can't save our bundle products.
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Area: ProductComponent: BundleIssue: ready for confirmationPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Done