Skip to content

Product attribute apply_to does not get validated when saving a product #38183

Open
@ksenia-zlotin

Description

@ksenia-zlotin

Preconditions and environment

  • Magento 2.4.4-p6

Steps to reproduce

  • Create a product attribute in the default attribute set which has its apply_to set to simple
  • Start creating a simple product and after filling the required fields, click Save & New or Save & Duplicate
  • In the duplicate / new product, fill the required fields and set the weight to 'This item has no weight'
  • Click Save

Expected result

Product attribute which is set to only show for simple product should not show

Actual result

Product attribute which is set to only show for simple product shows, and only disappears when re-selecting the attribute set which re-renders the form fields.

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

No one assigned

    Labels

    Area: FrameworkComponent: CustomerAttributesIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported on 2.4.4-p6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions