Open jcnme opened 3 months ago
Hi @jcnme. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
@magento give me 2.4-develop instance
Hi @jcnme. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @jcnme, here is your Magento Instance: https://ce8d2ef9ac0632e3cb97ac65074ecac5.instances-prod.magento-community.engineering Admin access: https://ce8d2ef9ac0632e3cb97ac65074ecac5.instances-prod.magento-community.engineering/admin_6687 Login: cd3b898a Password: 233910399cbe
Hi @jcnme,
Thanks for your reporting and collaboration.
We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Steps to reproduce
Only the duplicated bundle product contains the simple product as as a selection to bundle option. The original bundle product's bundle option selection is removed.
Hence Confirming the issue.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12648 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
Hello,
Here's a quick fix :
"magento/module-bundle": {
"Duplication bundle issue - https://github.com/magento/magento2/issues/38990": "patches/composer/magento/bundle/issue-38990.patch"
},
--- a/Model/LinkManagement.php 2024-04-03 16:20:20
+++ b/Model/LinkManagement.php 2024-08-12 09:48:10
@@ -244,6 +244,9 @@
);
$selectionModel->setOptionId($optionId);
+ if ($product->getIsDuplicate()) {
+ $selectionModel->setSelectionId(null);
+ }
try {
$selectionModel->save();
Preconditions and environment
Steps to reproduce
Expected result
Both the original and duplicated bundle products should contain the simple product as a selection to bundle option.
Actual result
Only the duplicated bundle product contains the simple product as as a selection to bundle option. The original bundle product's bundle option selection is removed.
Additional information
No response
Release note
No response
Triage and priority