Open
Description
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:
-
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&