Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27690

White character as a content type identifier leads to an error that should be a gracefully handled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.9.1, 1.7.4, 1.10.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      In similar to EZP-27512, when we set a space/tab/any other white character as a content type identifier, the following error is raised

      Failed to load 'http://192.168.56.102/pjax/contenttype/update/2/eng-GB'
      

      instead of regular validation error message.

      Steps to reproduce

      1. Create a new content type
      2. Set the identifier as a space
      3. Save the content type
      4. Notification contains text

      Failed to load 'http://192.168.56.102/pjax/contenttype/update/2/eng-GB'

      instead of a regular validation error message. Error labels aren't displayed under form fields.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              adam.wojs@ez.no Adam Wójs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: