-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP9, 7.2.X, 7.3.X, 7.3.5 CE GA6, 7.3.10 DXP GA1, Master
-
Component/s: Content Display Widgets > Asset Publisher widget
-
Labels:
-
Branch Version/s:7.3.x, 7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
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