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

Asset Publisher dynamic export functionality is exporting unnecessary entries

    Details

      Description

      Since 7.0, If you have an Asset Publisher with a dynamic configuration, the entries displayed on it are exported to LAR file or Live environment. (see LPS-62275)

      But we are always exporting a fixed number of elements that can be configured in System Configuration (AssetPublisherWebConfiguration.dynamicExportLimit, default = 20) even if it is not necessary:

      • In case your Asset Publisher has pagination disabled and is displaying less assets than the configured limit, you will be always publishing some related assets that won't be displayed there.
      • The expected behavior is to publish only the elements that are displayed in the asset publisher.

      Steps to reproduce

      1. Create 20 webcontents
      2. Create an Asset Publisher and configure it to displaye the webcontents
      3. Configure the display settings of Asset Publisher with:
        • Pagination: none
        • Number of elements to display: 4
      4. Export the Asset Publisher to a LAR file, export only this portlet, from the portlet menu
      5. Unzip the LAR file and check the number of exported webcontents:
        • Expected behavior: only 4 webcontents are exported
        • Wrong behavior: all webcontents are exported

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            jorge.diaz Jorge Diaz
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 5 weeks, 2 days ago

                Packages

                Version Package
                7.2.10 DXP FP9
                7.2.X
                7.3.5 CE GA6
                7.3.10 DXP GA1
                7.3.X
                Master