Environment: Liferay Portal 7.4 GA132
Database: Postgresql 16.10
Description:
In Liferay Portal 7.4 GA132 the client extensions are no longer active in pages or a single page after the server is rebooted. The extension itself does not disappear, only the information that it is active on pages/page. You can add the extension again to pages/page after a reboot.
- Described problem does not happen when using earlier version GA129 (clean install)
- Database:
lportal→clientextensionentryreltable holds the information of active client extensions in pages/page. In GA129, the data rows persist during shutdown/startup. In GA132, the data rows are deleted immediately when the server is shut down.
How to reproduce:
- Prepare Liferay instance with given environment and database
- Deploy a simple Client Extension that can be set as active to pages or a page, e.g. liferay-sample-global-css-2
- Activate the extension to all pages of a site: Admin view → Site Builder → Pages → Configuration → Design → CSS → CSS Client Extensions. Add “Liferay Sample Global CSS 2” and save the settings view. Now the client extension is active in all pages of the site.
- Close the server, for example using
\liferay-portal\tomcat\bin\shutdown.bat - Open the server using
\liferay-portal\tomcat\bin\startup.bat
Expected outcome: “Liferay Sample Global CSS 2” stays active when you open the site after reboot.
Outcome: “Liferay Sample Global CSS 2” is no longer active when you open the site after reboot.