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

Staging: Link to Page redirects to another published page on Live

Details

    • 7.2.x, 7.1.x
    • Committed
    • 1

    Description

      Reproduction steps:

      1. Setup a Liferay 7.2.x bundle
      2. Enable local staging
      3. Create 2 widget pages: test1, test2
      4. Click on Publish to Live
      5. Create a structure TestStructure with the Link to page field
      6. Add a new widget page test3
      7. Create a web content TestWebContent using TestStructure
      8. Select test3 for the Link to Page field→Publish
      9. Go to the page test1
      10. Place the web content onto the page by dragging it from the recent contents
      11. Publishing→Staging→+ Sign
      12. Select only test1→Publish to Live
      13. Go to the live site→test1 page
      14. Click on the Link to Page link

      Expected Behavior:
      The page test3 shows up in the link, so when you click it, you are redirected to test3. Since test3 is still in staging, if you do not have the permissions (e.g. you are not logged in), you will see the login screen.

      Actual Behavior:
      You are redirected to test2 if you are logged in. As guest, the Link to Page link cannot be seen.

      Notes: this issue is not reproducible above or below 7.2. It's most likely related to a performance optimization of LPS-116999.

      Attachments

        Issue Links

          Activity

            People

              joyce.wang Joyce Wang
              vendel.toreki Vendel Töreki
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 39 weeks, 1 day ago

                Packages

                  Version Package
                  7.1.10 DXP FP26
                  7.1.10.7 SP7
                  7.1.X
                  7.2.10 DXP FP11
                  7.2.10.4 DXP SP4
                  7.2.X