Skip to content

Unable to save Dropdown Product Attribute Value that contains an " & " #18602

@jfahrni

Description

@jfahrni

After the last update, some of our Product-Attribute Values are suddenly strangely truncated. We can reproduce this behavior with a fresh Magento 2.2.6 installation: if a value contains an " & " it will be cut at this point (when saving) and only the first part will remain as value.

Preconditions (*)

  1. Fresh installation via Composer
  2. Magento 2.2.6 CE

Steps to reproduce (*)

  1. Go to Stores => Attributes => Product
  2. Add New Attribute
  3. "Catalog Input Type for Store Owner" => Dropdown
  4. Add Option: String that contains an & (Example: "Dolce & Cabana")
  5. Save (or Save and Continue Edit)

screenshot_ 2018-10-13 at 22 16 46

Expected result (*)

  1. The value (Value of your Option) is saved as entered

Actual result (*)

  1. Only the part bevor the & remains as Value of this Option

screenshot_ 2018-10-13 at 22 19 59

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions