Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X, Master
-
7.3.x, 7.2.x
-
Committed
-
3
-
Performance
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
- Create 20 webcontents
- Create an Asset Publisher and configure it to displaye the webcontents
- Configure the display settings of Asset Publisher with:
- Pagination: none
- Number of elements to display: 4
- Export the Asset Publisher to a LAR file, export only this portlet, from the portlet menu
- Unzip the LAR file and check the number of exported webcontents:
- Expected behavior: only 4 webcontents are exported
- Wrong behavior: all webcontents are exported
- Expected behavior: only 4 webcontents are exported