Skip to content

Text Swatch is set to "value" when attribute option is updated through REST API #37793

Open
@elzekool

Description

@elzekool

Preconditions and environment

  • Magento version 2.4.4-p3
  • Multiple Store views exist
  • Product Attribute option exist with "Catalog Input Type for Store Owner" set to "Text Swatch"

Steps to reproduce

  1. Attribute options are filled with Swatch Text and Label for each store view
  2. REST request is made to /rest/all/V1/products/attributes/[attribute_code]/options/[option_id] with labels set for each store id

Expected result

Swatch Text is set to same value as label or not modified

Actual result

Swatch text is set to "value" provided in REST API

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

Labels

Area: APIsComponent: AttributesIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: dev in progressReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions