Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-38372

Web Content Display - Adding too many new fields in the structure causes the UI to break out in IE 8

Details

    • 1
    • 3
    • Internet Explorer 8

    Description

      Steps to reproduce:

      1. Add Web Content Display Portlet
      2. Click on Add Web Content icon
      3. Click the Change Structure icon
      4. Click the Add Structure button
        • Name: Test Structure
        • Click the Launch Editor button
        • Enter the following text into the editor:
          <?xml version="1.0"?>
          
          <root>
                  <dynamic-element name="Text" type="text" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[Text]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
                  <dynamic-element name="TextBox" type="text_box" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[TextBox]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
                  <dynamic-element name="TextArea" type="text_area" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[TextArea]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
                  <dynamic-element name="Image" type="image" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[Image]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
                  <dynamic-element name="Documents" type="document_library" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[Documents]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
                  <dynamic-element name="Boolean" type="boolean" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[Boolean]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
                  <dynamic-element name="Selection" type="list" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[Selection]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                      <dynamic-element name="Item_1" type="1" index-type="" repeatable="false"></dynamic-element>
                      <dynamic-element name="Item_2" type="2" index-type="" repeatable="false"></dynamic-element>
                      <dynamic-element name="item_3" type="3" index-type="" repeatable="false"/>
                  </dynamic-element>
                  <dynamic-element name="MultiSelectionField" type="multi-list" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[MultiSelection]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                      <dynamic-element name="item1" type="1" index-type="" repeatable="false"></dynamic-element>
                      <dynamic-element name="item2" type="2" index-type="" repeatable="false"></dynamic-element>
                      <dynamic-element name="item3" type="3" index-type="" repeatable="false"/>
                  </dynamic-element>
                  <dynamic-element name="Link" type="link_to_layout" index-type="" repeatable="false">
                      <meta-data>
                          <entry name="displayAsTooltip"><![CDATA[false]]></entry>
                          <entry name="required"><![CDATA[false]]></entry>
                          <entry name="instructions"><![CDATA[]]></entry>
                          <entry name="label"><![CDATA[Link]]></entry>
                          <entry name="predefinedValue"><![CDATA[]]></entry>
                      </meta-data>
                  </dynamic-element>
              </root>   
      5. Click Update

      Expected result:
      XML Schema Definition should show all the new fields without any problem

      Actual result:
      After clicking update, the UI glitches

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            kwang.lee Kwang Lee (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              6 years, 7 weeks, 5 days ago

              Packages

                Version Package