Skip to content

Swatch Attribute is not getting save while deleting a swatch row with empty admin scope text #13117

@mak0605

Description

@mak0605

Preconditions

  1. Magento 2.2

Steps to reproduce

  1. Install Magento v 2.2
  2. Login to admin and Goto Store- >Attribute->Product
  3. Find a attribute like color
  4. Open color attribute and make it to Visual Swatch type
  5. In Manage Swatches section add color swatches
  6. Now Click on Add Swatch button, a row will appear just remove it without filling anything into it.
  7. Click on save, you will get following error:
    The value of Admin scope can't be empty.

Expected result

  1. Attribute should be save with out any error if i want to remove any option
  2. It should not validate for deleted swatch row while saving

Actual result

  1. When i add a new row and delete it without filling data into it its getting display none, but its getting validate while submitting form for save.
    See in attached screenshot
    screen shot 2018-01-11 at 13 31 42

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed 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 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions