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

Exception occurs when editing and publishing Web Content

    Details

      Description

      Reproduction Steps
      1. Create structure 'test' with sample-structure.xml
      2. Create blank template 'test template' for the structure 'test'
      3. Add > test
      4. Fill out the required information and save
      5. Now click on 'test' to edit web content (see screenshot error.png)
      6. ArrayIndexOutOfBoundsException Exception when editing Web Content. Exception in logs - exception.txt

      7. If we are using another sample-structure-2.xml, we will also get NullPointerException after publishing the web content. - exception-2.txt

      Actual Behavior
      Step 1-6: ArrayIndexOutOfBoundsException occurs when editing Web Content. The selected structure is missing and it turns to be same with the list on the right side.
      Step 7: NullPointerException occurs after publishing the web content. Some components are missing unexpectedly

      Expected Behavior
      We should be able to edit the web content without any errors and it needs to be as what sample structure is.

        Attachments

        1. error.png
          error.png
          100 kB
        2. exception.txt
          31 kB
        3. exception-2.txt
          2 kB
        4. sample-structure.xml
          6 kB
        5. sample-structure-2.xml
          3 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              vincent.liu Vincent Liu
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 29 weeks ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1