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

CLONE - Global references are not being published with a Web Content Display portlet

    Details

      Description

      Steps to reproduce/Testing done

      1. Create a new site "test" on both remote and local server
      2. Enable remote staging on local server for site "test"
      3. Enable remote staging on local server for site "global"

      Scenario 1:

      1. Add portlet "Web Content Display" on a page of site "test"
      2. Create a new content
      3. Publish on remote server
        Expected Result: The page and content get published
        Actual Result: The page and content get published

      Scenario 3:

      1. Create a web content in "global" site
      2. Add a "Web Content Display" on a page of site "test"
      3. In the configuration, selects the newly created web content from "global" site
      4. Publish on remote server (site "test")
      5. It fails complaining about missing reference (which is normal)
      6. Publish on remote server (site "global") from the control panel, site section. The web content gets published on production
      7. Try again to publish "test" site
        Expected Result: Publish succeeds and content is visible in portlet
        Actual Result: Publish fails, still complaining that the reference is missing (even if the web content really exists in global site)

      For all instances where the publish fails, the following exception is thrown:

      19:26:44,382 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:133] Unable to execute background task
      com.liferay.portal.MissingReferenceException
      	at com.liferay.portal.lar.LayoutImporter.validateFile(LayoutImporter.java:157)
      	at com.liferay.portal.service.impl.LayoutLocalServiceImpl.validateImportLayoutsFile(LayoutLocalServiceImpl.java:2950)
      	at com.liferay.portal.service.impl.LayoutLocalServiceImpl.validateImportLayoutsFile(LayoutLocalServiceImpl.java:2983)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yunlin.sun Yunlin "Steven" Sun
              Reporter:
              satheeshravir Satheesh Prabu Ravi (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M3