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

Related Assets portlet preferences are not correctly published when using local live staging

    Details

      Description

      When local staging is enabled with page versioning, the related assets portlet does not function correctly as its filter/group by vocab/categories feature does not work in the live site.
      Steps to Reproduce
      1. Enable local staging with page versioning enabled for both public and private pages
      2. Add an asset vocabulary “Vocab 1”
      3. Add an asset category “Cat 1” under “Vocab 1”
      4. Add a web content “Web Content 1”
      5. Add a web content “Web Content 2”
      6. While editing “Web Content 2”, select “Cat 1” under “Vocab 1” in the categorization page
      7. Select “Web Content 1” as a related asset for “Web Content 2”
      8. Save “Web Content 2”
      9. Create a private page “Page 1”
      10. Add an Asset Publisher portlet on “Page 1”
      11. Configure Asset Publisher portlet to manually retrieve the “Web Content 1” web content with the following settings:
      Asset Selection : Manual
      Display Style : Full Content
      12. Add a Related Assets portlet on “Page 1”
      13. Configure the Related Assets portlet to retrieve any type of assets that contains the “Cat 1” category and choose display style “Title List”
      14. Refresh “Page 1”
      15. Observe that “Web Content 2” is shown in the Related Assets portlet on “Page 1” in the staging site
      16. Mark “Page 1” as Ready for Publication
      17. Publish “Page 1” to live with the following options:
      Data : Checked
      Range : All
      Web Content : Checked
      o Setup : Checked
      o Web Content : Checked
      o Structures, Templates, and Feeds : Checked
      o Embedded Assets : Checked
      Permissions : Checked
      Categories : Checked
      18. Navigate to “Page 1” in the live site and observe that the Related Assets portlet is unable to retrieve any asset entries
      19. Navigate back to “Page 1” in the staging site
      20. Remove the filtering criteria from the Related Assets portlet
      21. Configure the Related Assets portlet to group by the “Vocab 1” asset vocabulary
      22. Refresh “Page 1”
      23. Observe that “Web Content 2” is shown in the Related Assets portlet under the “Cat 1” asset category on “Page 1” in the staging site
      24. Mark “Page 1” as Ready for Publication
      25. Publish “Page 1” to live with the following options:
      Data : Checked
      Range : All
      Web Content : Checked
      o Setup : Checked
      o Web Content : Checked
      o Structures, Templates, and Feeds : Checked
      o Embedded Assets : Checked
      Permissions : Checked
      Categories : Checked
      26. Navigate to “Page 1” in the live site and observe that the Related Assets portlet is unable to retrieve any asset entries.

      expected behavior: related asset is displayed on the live page

      actual behavior: Related Asset portlet is empty.

      cannot test due to LPS-42277 and LPS-42371.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew.betts Andrew Betts
                Reporter:
                andrew.betts Andrew Betts
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 47 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M3