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

Two XML block in same Class in different Categories will break second Online Editor

    XMLWordPrintable

Details

    Description

      Adding two XML block attributes in different categories in Internet Explorer 11 results in broken second Online Editor.

      Steps to reproduce
      1. In ezpublish_legacy/settings/override/content.ini.append.php add two new categories (at the end of the file):

      [ClassAttributeSettings]
      CategoryList[test1]=Test1
      CategoryList[test2]=Test2
      

      2. In legacy backoffice create new class Test Class with attributes:

      name identifier type category
      B1 b1 XML block Test1
      B2 b2 XML block Test2

      3. In Internet Explorer 11 create new content of class Test Class

      Result
      There will be javascript error in console Unspecified error and second Online Editor will not render (see attached screenshot).

      Attachments

        1. broken_oe.png
          broken_oe.png
          197 kB
        2. EZP-29957.patch
          1.31 MB

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: