Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 DXP GA1, 7.0.X, Master
Component/s: Dynamic Data Mapping
Portlet display templates changes are not updated in existing Liferay installation.
That templates are inserted during startup into DDMTemplate table of database.
For example, in LPS-69786 or
LPS-76010 we are changing the template portlet_display_template_rich_summary.ftl due some bugs. If a customer updates to a version that includes the solution to that bug, the template that it is stored in DDMTemplate table, it is not updated.
Steps to reproduce
- Install Liferay 7.0 SP1 (related bug are not solved in that version)
- Verify that LPS-69786 or
LPS-76010issues are reproduced (follow the steps that are explained in that bugs)
- Upgrade to last available master (that bugs are already solved in master branch)
- Verify again issues LPS-69786 or
- : the issues are not reproduced
- : the issues are reproduced
This bug is not reproduced in case of a fresh install of Liferay because DDMTemplate table is generated in first startup
In order to solve this issue, we should update the existing record in case of it was not modified by anyone.
If template was modified, we cannot update them because we will overwrite customer changes.