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

"Link to page" items in web content structure are rendered incorrectly after upgrade

    Details

      Description

      DESCRIPTION
      Upgrading 6.0 sp1 to 6.2 SP5 or higher, web content link to page URLs are in a different format.

      STEPS TO REPRODUCE
      1. Start up a clean bundle of 6.0 EE SP1
      2. Log in as a portal administrator
      3. Create a new web content structure
      4. Under XML Schema Definition, add a new row named "mylink" and configure it to have a Link to Page data type
      5. Create a web content template for that structure with the following content: $mylink.getFriendlyUrl()
      6. Add a new web content article based on the structure and template, linking "Welcome" to the mylink field
      7. Add a web content display to /web/guest/home and select the article created in step #6
      8. Confirm that the web content display shows /web/guest/home
      9. Shut down the server
      10. Upgrade to Liferay 6.2 with SP5 or higher, making sure to use the same database
      11. Visit /web/guest/home

      EXPECTED RESULTS
      Expected behavior is that the web content display will show /web/guest/home

      ACTUAL RESULTS
      Actual behavior is that the web content display will show /web/groupId/layoutId.

        Attachments

        1. fixed.png
          fixed.png
          5 kB
        2. reproduced.png
          reproduced.png
          5 kB

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                bryan.engler Bryan Engler
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 39 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M2