magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.54k stars 9.32k forks source link

Magento 2 bundle option delete issue #38414

Open shivpastor opened 9 months ago

shivpastor commented 9 months ago

Preconditions and environment

I have created a bundle product with 10 options(Drop-down, Radio, Multi-select). When I attempted to delete radio options , it returned an error. This issue i'm facing when my radio option has in middle, If radio option has in the last, it's worked fine, This issue i'm facing only for radio option, for the remaining option type, it's working fine.

Magento version : 2.4.3 - 2.4.6-p3 PHP version: 8.1

Steps to reproduce

https://drive.google.com/file/d/1Suu98I2MEVpfTmauH-tkTZjCkxeHTiv8/view?usp=sharing

Screenshot-from-2024-02-04-12-39-23

screenshot-local magento243new com-2024 02 04-12_51_29

Expected result

Product option should be removed in between also.

Actual result

It's throwing error Warning: Undefined array key "product_id" in vendor/magento/module-bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php on line 222

Screenshot-from-2024-02-04-12-39-23

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 9 months ago

Hi @shivpastor. 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:

m2-assistant[bot] commented 9 months ago

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:

engcom-Bravo commented 9 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 9 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 9 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://57cea9cf2485fd1b8dd113b5a8f4884d.instances-prod.magento-community.engineering Admin access: https://57cea9cf2485fd1b8dd113b5a8f4884d.instances-prod.magento-community.engineering/admin_2c5c Login: a9982014 Password: 349a52e3bd33

engcom-Bravo commented 9 months ago

Hi @shivpastor,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the attached video,

Steps to reproduce

Screencast from 05-02-24 11:48:18 AM IST.webm

Screenshot from 2024-02-05 11-49-55

We are not able to delete the radio option related products.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 9 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-10968 is successfully created for this GitHub issue.

m2-assistant[bot] commented 9 months ago

: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.

shivpastor commented 9 months ago

Hello Team,

Can I get update here.

Thanks

EugenOrosan92 commented 8 months ago

Hello,

Is there any update or fix for this issue? Thanks

makwanak40 commented 1 month ago

Is there any ETA for bundle option delete bug.