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.56k stars 9.32k forks source link

item layout updates can't remove after add when create new widget #29936

Closed mrtuvn closed 3 years ago

mrtuvn commented 4 years ago

Preconditions (*)

  1. Magento 2.4-develop

Steps to reproduce (*)

  1. Go to admin
  2. Content > Widgets
  3. Add new widget
  4. In section "Layout Updates" Add Layout Update
  5. Try to click on icon basket to remove item

Expected result (*)

  1. Item should be remove

Actual result (*)

  1. Item cannot remove
  2. Only first item could be removed Screen Shot 2020-09-08 at 12 58 03

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 4 years ago

Hi @mrtuvn. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


: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, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 4 years ago

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

magento-engcom-team commented 4 years ago

@engcom-Delta Thank you for verifying the issue.

Unfortunately, not enough information was provided to acknowledge ticket. Please consider adding the following:

Once all required information is added, please add label "Issue: Confirmed" again. Thanks!

magento-engcom-team commented 4 years ago

:white_check_mark: Confirmed by @engcom-Delta Thank you for verifying the issue. Based on the provided information internal tickets MC-37441 were created

Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

saphaljha commented 4 years ago

@magento I am working on this issue.

bhaveshpp commented 3 years ago

Magento 2.4

I am facing the same issue in my project. The console is clear there is no error in the console https://drive.google.com/file/d/1EEhxFnAlPUu_-4srQGkQOP_iVtlLxIm6/view

Did anyone found any solution to this issue?

Thank you.

mrtuvn commented 3 years ago

You can see pull request links above

bhaveshpp commented 3 years ago

Hello, It solved my issue. https://github.com/magento/magento2/pull/29991/files Thank you.

bhaveshpp commented 3 years ago

Hello, After applying these file changes my issue with the widget is resolve but this change affects on system config field use system value checkbox

https://github.com/magento/magento2/pull/29991/files

I am facing a new issue in store > Settings > Configuration

https://drive.google.com/file/d/1idssPw1prXYuuIEe7-iKEgSqoA_CSz9S/view

After revert my changes to this file it works fine. lib/internal/Magento/Framework/View/Helper/SecureHtmlRenderer.php

Thank you.

mrtuvn commented 3 years ago

@bhaveshpp this is open PR and not accept yet by magento. You should use patch with caution and maybe this patch fix your problem but will possible break another function in other place We have another PR you can check https://github.com/magento/magento2/pull/30992 (2 PRs in same issue)

magento-engcom-team commented 3 years ago

Hi @mrtuvn. Thank you for your report. The issue has been fixed in magento/magento2#29991 by @saphaljha in 2.4-develop branch Related commit(s):

The fix will be available with the upcoming 2.4.3 release.