Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2125

Error 500 when Style content is misspelled

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.0
    • 2.2.x-dev
    • None

    Description

      Steps:

      1. Go to Page
      2. Click [+] and choose Landing Page
      3. Choose layout and confirm
      4. Drag and drop for ex. code block
      5. Fill the content field and on design tab type fill the fields with a typo in Style field, for example:
      Class: cls
      _.cls

      {backround: blue color: white;}

      _
      6. Click Submit

      Actual result:

      Error 500 in block modal is shown: parse error: failed at `background: blue color: white;} }` (stdin) on line 1

      Expected result:

      User friendly message

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: