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

    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).

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

        Activity

        Mateusz Bieniek created issue -
        Mateusz Bieniek made changes -
        Field Original Value New Value
        Link This issue relates to CS-7194 [ CS-7194 ]
        Mateusz Bieniek made changes -
        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):
        {code}
        [ClassAttributeSettings]
        CategoryList[test1]=Test1
        CategoryList[test2]=Test2
        {code}
        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 and second Online Editor will not render (see attached screenshot).
        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):
        {code}
        [ClassAttributeSettings]
        CategoryList[test1]=Test1
        CategoryList[test2]=Test2
        {code}
        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).
        Mateusz Bieniek made changes -
        Status Open [ 1 ] Confirmed [ 10037 ]
        Mateusz Bieniek made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Kamil Madejski made changes -
        Summary Two XML block in same Class in different Categories will break secon Online Editor Two XML block in same Class in different Categories will break second Online Editor
        Mateusz Bieniek made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Mateusz Bieniek [ mateusz.biniek@ez.no ]
        Mateusz Bieniek made changes -
        Status Development [ 3 ] Development Review [ 10006 ]
        Mateusz Bieniek made changes -
        Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
        Assignee Mateusz Bieniek [ mateusz.biniek@ez.no ]
        Mateusz Bieniek made changes -
        Attachment EZP-29957.patch [ 32227 ]
        Mateusz Bieniek made changes -
        Status Documentation Review done [ 10011 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mateusz Bieniek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: