Different total count of items when creating an export and import process over same site
Written By
Jorge García Jiménez
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
- We are exporting site contents in a lar file.
- When checking the number of items in the export, we've seen some values.
- When we try to import this lar in another site, we are detecting that the number of items are not the same as the values presented in the export process.
Resolution
- This is a false positive, not an error.
- The difference in items could be caused because some items references other items (article, documents...).
- During the export process, all those references are calculated and as some references of references could exists, this could lead to non-precise numbers being shown in the export view.
- Those numbers are based on the top level of the hierarchy, not counting the possible references to other items and causing this difference.
- On the other hand, the numbers that appears in the import process are truly accurate.
Did this article resolve your issue ?