Open
Description
Preconditions and environment
- Magento version 2.4.*
- Attribute that uses a visual swatch (e.g. color)
Steps to reproduce
- Make sure that you have an attribute with a visual swatch (in default example this is color)
- Update option value through REST API /rest/all/V1/products/attributes/[attribute_code]/options/[option_id] (for example to update translations)
Expected result
Attribute labels are updated and swatches remain as-is
Actual result
Attribute labels are updated but swatch data is deleted
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
m2-assistant commentedon Jul 24, 2023
Hi @elzekool. 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.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 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.
elzekool commentedon Jul 24, 2023
@magento give me 2.4-develop instance
magento-deployment-service commentedon Jul 24, 2023
Hi @elzekool. Thank you for your request. I'm working on Magento instance for you.
magento-deployment-service commentedon Jul 24, 2023
Hi @elzekool, here is your Magento Instance: https://dd4f397647dbb146742b0032e3d8edc8.instances-prod.magento-community.engineering
Admin access: https://dd4f397647dbb146742b0032e3d8edc8.instances-prod.magento-community.engineering/admin_f584
Login: 629dcf0a
Password: a79a58cd41eb
elzekool commentedon Jul 24, 2023
Could reproduce in vanilla environment.
Setup:
State before:
The color attribute in the sample data contains swatches by default. Currently labels for the default store and the new store are empty.

Request:
Result
Note that now the swatch is removed for the "Black" attribute. Where it is expected that the current swatch value remains as-is.

m2-assistant commentedon Jul 25, 2023
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: 👇
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.- If the issue is reproducible on
2.4-develop
branch, 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!
Issue: Confirmed
once verification is complete.engcom-Bravo commentedon Jul 25, 2023
Hi @elzekool,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Steps to reproduce
When we are updating Values of Your Attribute through Rest Api the swatch is getting crossed out.
Hence Confirming the issue.
Thanks.
11 remaining items