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

Properly handle link to page fields without values after upgrade from 6.1.10

    Details

      Description

      1. Start portal version 6.1.10
      2. Create a web content structure with a Link To Page field and a template
      3. Create a web content article from this structure, DO NOT select any value for the field and save it – you are able to do this in 6.1.10
      4. Upgrade the portal to 6.2 or trunk
      5. Open the web content article for edit

      Result: The Link To Page field is not rendered and you get an ArrayIndexOutOfBoundsException.

      In 6.2, Link To Page fields must have a value selected when creating an article, unlike 6.1.10 where it is allowed to save them with no value, and 6.2 is not prepared that they can exist without a value after upgrading.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              gergely.mathe Gergely Mathe (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 18 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1