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

Asset Publisher portlet looses ordering configuration after lar import

Details

    Description

      Abstract
      We configure the asset publisher to order the contents by a structure text field. We export the site. Once the site is being imported, the order configuration gets lost and the asset publisher will be ordered by the content title.

      Reproduction

      1. Navigate to Site Administration -> Content
      2. Click Manage Structures
      3. Add a Structure, placed a text field on the plane, and sav the structure titled "struct"
      4. Add a new Web Content Article from this structure
      5. Assign a blank template to it
      6. Place an Asset Publisher on the page
      7. Click the configuration of the portlet
      8. Under the Asset Selection tab, in the Asset Type section select Web Content Article
      9. Select "struct" as Web Content Article Subtype
      10. In the Ordering and Grouping section select Order by Text
      11. Leave the rest of the field as the default
      12. Export the pages with the default settings
      13. Create a new Community Site with the default settings
      14. Import the lar file and leave all the settings default (Mirror)
      15. Navigate to the destination page

      Issue: Observe that the Asset Publisher portlet loses its ordering configuration. If you add a new structure, it will be ordered by its title

      Expected: The order configuration should persist through the export-imports.

      Staging scenario

      1. Create a site
      2. Navigate to Site Administration -> Content
      3. Click Manage Structures
      4. Add a Structure, placed a text field on the plane, and sav the structure titled "struct"
      5. Add a new Web Content Article from this structure
      6. Assign a blank template to it
      7. Turn on staging
      8. Place an Asset Publisher on the page
      9. Click the configuration of the portlet
      10. Under the Asset Selection tab, in the Asset Type section select Web Content Article
      11. Select "struct" as Web Content Article Subtype
      12. In the Ordering and Grouping section select Order by Text
      13. Leave the rest of the field as the default
      14. Publish

      Issue: Observe that the Asset Publisher portlet's preferences refer to the strucure in the staging group

      Expected: The order configuration refer to the structure in the live group.

      Attachments

        Issue Links

          Activity

            People

              sherry.zhu Sherry Zhu (Inactive)
              norbert.kocsis Norbert Kocsis (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 41 weeks, 1 day ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE