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

Preferences of Web Content Display portlet is imported with the wrong groupId when staging is active

    Details

    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed
    • Story Points:
      5

      Description

      Issue
      Broken Web Content Display references are present after importing site LAR into a staged site.

      After importing the LAR file, we can see that the articles exist in Web Content, but the page references are broken.

      If we import the LAR into a non-staged Public Site, the Web Content Display widgets display the content without any issues.

      Steps to Reproduce
      1. Set up two Liferay DXP 7.0 environments
      2. Start up the first environment
      3. Create a new page in the default Liferay DXP site called "New Page"
      4. Go to Product Menu > Liferay DXP (site) > Content > Web Content > Create two Basic Web Content articles titled "a" and "b"
      5. Go to "New Page" and add the two Web Content articles on the layout using two separate Web Content Display widgets
      6. Go to Product Menu > Liferay DXP (site) > Publishing > Export--select "New Page" as the only page to be exported, and leave all of the other settings as is (export all content, etc.)
      7. Save the exported LAR file
      8. Start up the second environment
      9. Go to Product Menu > Liferay DXP (site) > Publishing > Staging > Enable Local Live staging with default settings
      10. Go to Product Menu > Liferay DXP (site) > Publishing > Import, and drag and drop the LAR file downloaded in step 7
      11. After the LAR file has completed, go to Product Menu > Liferay DXP and click go to site
      12. Click on NewPage

      Actual Behavior
      Web Content portlets on the staged site shows "The selected web content no longer exists."

      Expected Behavior
      Web Content portlets on the staged site shows the Web Content Display portlets with the correct references.

      Reproduced in

      Liferay DXP 7.0 + DE-92 + hotfix-6913-7010
      7.0.X-private Commit: 0366ff85edec35319100bd1491c1c85851800b27
      Fixed in

      Master-private Commit: 96b19e314abcd1612ae3ad584f975712c3add94b

        Attachments

          Activity

            People

            Assignee:
            marcell.weller Marcell Weller
            Reporter:
            thien.quach Thien Quach
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              16 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP102
                7.0.10.16 DXP SP17
                7.0.X