Issue
- When a Staging publication is performed more documents are published than were modified or selected.
Environment
- Liferay DXP 7.2, 7.3 environments using Asset Publishers set to dynamic selection style.
Resolution
- This behavior can be disabled by navigating to Control Panel -> Configuration -> System Settings -> Assets -> Asset Publisher and deselecting "Enable Dynamic Export".
- It is important to note that disabling Dynamic Export could result some content not being published when it should be.
- If there is concern regarding that please look into the
dynamic.export.limit=
portal property or the configuration option Dynamic Export Limit, which can be used to limit the number of files that the Dynamic Export can export when enabled.
Additional Information
- This is an expected behavior per LPS-62275, however it can be toggled as noted above.
- Since 7.4, its default value is
false
. See LPS-128736.