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

ArrayIndexOutOfBoundsException occurs during Web Content edition if the Structure has been edited

    Details

      Description

      Abstract
      If there is a Web Content created from a Structure, changing the Structure than editing the Web Content causes undesired behavior, in special cases ArrayIndexOutOfBoundsException occurs. This issue is reproducible using Document Types or Data Definitions as well.

      Reproduction steps

      1. Create a Structure:
         Add a repeatable text field
         Add another text field with three sub-field.
      2. Create a dummy template for the structure
      3. Create a Web Content using the Structure
         Add two more text field instances from the repeatable text field.
      4. Edit the Structure
         Switch the order, put the repeatable field to the bottom of the structure.
      5. Try to edit the Web Content
      

      Result
      ArrayIndexOutOfBoundsException is thrown and the fields don't render.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              tamas.molnar Tamas Molnar
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 22 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1