magento2
magento2 copied to clipboard
Encoding of ampersands in attribute set group name
When creating a new group of attributes within an attribute set, including an ampersand in the name of the group displays correctly within the "Attribute Set" area of the admin. When viewing a product within the admin, this displays encoded as &
Manually changing the name of the group from & to & will fix the problem; but the next time the attribute set is saved, the problem is re-introduced.
Screenshots from Magento 2.4-develop instance:
-
Creation of group, which looks fine:

-
This group displays as:

-
Renaming the group fixes the issue:

-
But it breaks again if you save the attribute set, even when only editing attributes in other groups:

Preconditions (*)
- Magneto 2.4.2
Steps to reproduce (*)
- Create a new group with an ampersand in the name (verify it displays as
&) - Rename the group name (double click it)
&to&(verify it now displays correctly) - Save the attribute set again, without editing the group, and it breaks again (it displays as
&)
Expected result (*)
- The attribute set group name can be created using
& - The attribute set group name will not be modified when the set is being edited
Actual result (*)
- The attribute set group name changes from
&to&
Hi @Footshop-Andy. Thank you for your report. To help us process this issue please make sure that you provided the following information:
- Summary of the issue
- Information on your environment
- Steps to reproduce
- Expected and actual results
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
- 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, 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
@magento give me 2.4-develop instance
Hi @Footshop-Andy. Thank you for your request. I'm working on Magento instance for you.
Hi @Footshop-Andy, here is your Magento Instance: https://c3643300e426f87072dbfbe4a0cf8dfa-2-4-develop.instances.magento-community.engineering Admin access: https://c3643300e426f87072dbfbe4a0cf8dfa-2-4-develop.instances.magento-community.engineering/admin_645f Login: 9188140e Password: a60fbb904476
Hi @engcom-Oscar. 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:
-
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
Details
If the issue has a valid description, the labelIssue: Format is validwill be added to the issue automatically. Please, edit issue description if needed, until labelIssue: Format is validappears. -
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add
Issue: Clear Descriptionlabel to the issue by yourself. -
[ ] 3. Add
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 4. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 5. Add label
Issue: Confirmedonce verification is complete. -
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hi @Footshop-Andy,
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.
The attribute set group name changes from & to &
Hence Confirming the issue.
Thanks.
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*
Once all required labels are present, please add Issue: Confirmed label again.
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*
Once all required labels are present, please add Issue: Confirmed label again.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12163 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.
:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-12163