Changes not reflected on Web content articles after importing LAR
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
- Web content article do not get updated to the version in LAR, but rather stays on their upgraded version even after importing the LAR.
- Steps to reproduce-
- Go to Global Site.
- Go to Content and Data --> Web Content
- Create a Structure and Template.
- Create a web content with that structure and publish it.
- Note that web content version is 1.0
- Export the Web Content LAR
- Edit the web content and publish with some new changes
- Note that web content version is changed to 1.1
- Import the LAR
-
Result->Web content version does not change to 1.0 but remains at 1.1, not reflecting the LAR web content.
Environment
- Liferay DXP 7.0
- Liferay DXP 7.1
- Liferay DXP 7.2
Resolution
- This is not an issue but rather an intended behavior of Liferay.
- If user's goal is to remove version 1.1 and only have version 1.0 after importing the LAR then user will need to check "Delete Application Data Before Importing" on the import configuration. This will remove all of the Web Content data (articles, structures, templates, etc.) and add in everything that is in the LAR.
Did this article resolve your issue ?