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

PIM products: illegal characters go undetected when creating selection choices via PHP API

    XMLWordPrintable

Details

    • Ibexa Experience

    Description

      When creating Ibexa PIM products via PHP, illegal characters go undetected when creating choices for selection attribute. The same literals would be rejected by Ibexa's admin UI.

      This leads to come crash with an error:

      The name "w/ outlet" contains illegal characters. Names should start with a letter, digit or underscore and only contain letters, digits, numbers, underscores ("\_"), hyphens ("-") and colons (":"). 

      Actually, I think this was an issue for the key/identifier, and not for the label, but if it was for the label, it's even worse - why wouldn't we allow special characters in labels?

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              45fc158e-1e71-4a12-9a5d-3210b3f553ee@accounts.ibexa.co Piotr Karaƛ
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: