Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2625

An error 500 occurred when special characters are provided in field identifier for newly created Attribute group and Attribute

    XMLWordPrintable

Details

    • eZ Commerce

    Description

      Update:

      The problem with validation affects different parts of the system (not only product-catalog) e.g. Object states where field identifier exist. What is also worth to mention, the problem occurs on lower version v3

       

       

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Product catalog / Attribute groups or Attribute.
      3. Start creating a new Attribute group or Attribute.
      4. In field 'Identifier' provide special characters e.g. @@@#$%^
      5. Publish.

      Actual result:

      See attached screenshot.

      An error 500 occurred when special characters are provided in field identifier for newly created Attribute group and Attribute.

      Cache key "ibx-ag-@@#$%" contains reserved characters "{}()/\@:". 

      Expected result:

      Validation do not let user create a new Attribute group or Attribute when in field Identifier are special characters.

      NOTE:

      We can implement the same validation as it is already implemented in adding new Product type form (screen: product_type).

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: