magento / inventory

Magento Inventory Project (a.k.a MSI)
Open Software License 3.0
337 stars 248 forks source link

Issue in module-inventory-bundle-product with duplicate bundle product #3417

Closed vivekbhatt119 closed 1 week ago

vivekbhatt119 commented 1 week ago

Preconditions and environment

Steps to reproduce

Expected result

Actual result

Additional information

when we duplicate the bundle product, we have duplicate entries of selection_id in catalog_product_bundle_selection. When \Magento\InventoryBundleProduct\Model\GetChidrenSkusByParentIds::iterate() tries to load \Magento\Bundle\Model\ResourceModel\Selection\Collection, it is showing error as collection can not have multiple items with same ID.

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 week ago

Hi @vivekbhatt119. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information. Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.