Skip to content

duplicate on (multi)select attribute breaks validation #19465

Closed
@Schrank

Description

@Schrank

Preconditions (*)

Demo build on the demo store of basecom: https://www.basecom.de/magento2/demo
Magento Ver.-2.2.6

On (multi)select attributes it is possible to save duplicates. The validation is correct, but for some reason the list of options is hidden after validation and not validated again due to that.

Steps to reproduce (*)

  1. Open product attribute "activity"
  2. add new option "Urban"
    image
    image
  3. Click on Save Attribute
  4. Click a second time on "Save Attribute"

Expected result (*)

  1. Error is shown on the two options
  2. List of options does not vanish
  3. after correction the attribute is saved WITHOUT duplicate

Actual result (*)

  1. List of Attributes vanishes
    image
  2. See the error triangle on the tab on the left
  3. The attribute is saved WITH duplicate

Might be connected to #7646

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: BackendComponent: UiFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions