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

"Link to Page" field doesn't work if staging is activated

    Details

      Description

      Reproduction steps:

      1. Create a Site
      2. Create two pages ("p1" and "p2")
      3. Create a structure with a "Link to Page" field
      4. Create a template for this structure: under the Fields section click on "Link to Page"
      5. Create a Web Content from the structure, select "p2"
      6. Put a Web Content Display portlet to "p1" which displays the Web Content
      7. Verify that the link points to "p2"
      8. Enable staging (the issue is reproducible with locale and remote staging as well)
      9. Go to the Live site

      Result: The link points to the Staging site

      Another steps:
      1) Activate staging
      2) Create Structure with Link to Page field
      3) Create Template (use ${field.getFriendlyUrl() to check the URL).
      4) Create Web Content from the structure, display it in a Web Content Display portlet
      Result:
      The link points to the staging site.
      5) Publish to live
      Results: The link on the Live site points back to the Staging site.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haoliang.wu Haoliang Wu (Inactive)
              Reporter:
              tamas.molnar Tamas Molnar
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 41 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1