Number items to display is wrong after migration
Written By
István Gergely-Tárnoki
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- After the migration from Liferay 6.2 to DXP, some Asset Publishers have the wrong 'Number items to display'
- In Portal 6.2, Number items to display is saved in a
pageDelta property inside a portlet preference XML. In DXP, this property is now called delta
- After the migration, the property
pageDelta and delta coexist in the Asset Publisher portlet preference and they don’t match a lot of time.
Resolution
- It is a known issue that you can resolve by running one of the attached groovy scripts.
- Use the one that ends with '70x' in case of DXP 7.0
- Use the one that ends with '71x+' in case of DXP 7.1 and above
- Test the groovy script in a test environment first and make a backup of your production system before running the script there
Did this article resolve your issue ?