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

Importing into a site with page versioning enabled may not correctly import all of the portlets in 6.1.x

    Details

      Description

      Steps to reproduce

      1. create a site "Site1"
      2. add a page "page1" to "Site1"
      3. add two Web Content Display portlets to "page1" and add web content for each one
        1. have portlets in both column (2-column layout)
      4. customize the look and feel of the portlets to be borderless and have a custom title
      5. go to control panel -> site pages and export the public pages
      6. create a new site "Site2" and enable local live staging with page versioning enabled for both public and private pages
      7. import the lar for the public pages
      8. navigate to "Site2(staging)"

      Actual behavior: only the portlet in the first column will be correct. The portlet in the second column will be empty and have default properties.

      Expected behavior: both portlets will display their content with the correct look and feel.

      Note:
      This only happens if page versioning is enabled and if there is more than one portlet on the page. It is possible to reproduce this with any number of portlets (they do not have to be the same type). To simplify matters you can use the Web Content Display portlet

      this issue does not happen in trunk because when we run the LayoutImportBackgroundTask the calls to the layout are not intercepted by the layoutStagingHandler.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              andrew.betts Andrew Betts
              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:
                7 years, 44 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.X EE