What to check when Site Template changes are not propagating to sites
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
- Changes made to a site template (such as adding pages and updating permissions for existing pages) are not propagating to sites, even though the changes are seen in the site template. There are no errors in the logs, and there is no "Reset Changes" button appearing as described in the Propagating Changes from Site Templates documentation.
Environment
Resolution
-
In the portal-ext.properties file, set the
layout.set.prototype.merge.fail.threshold= to a lower value (the default for this property is =3) and restart the application server,
- After the server is running again, attempting to propagate the site template changes with the lower threshold active will allow UI warnings to appear as expected (along with the Reset and Propagate button), and errors of the specific failures to be printed in the Liferay log
-
Though the underlying conflict preventing the template propagation from occurring will still need to be addressed, having the Reset and Propagate button available allows one to reset the merge fail count and attempt to propagate Site changes again. This process provides the opportunity to detect and fix a merge fail when conflicts arise.
Did this article resolve your issue ?