-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP85, 7.0.10.12 DXP SP12, 7.0.X
-
Component/s: ~[Archived] WCM
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
After installing some fixpacks, some upgrades are removing portletpreferences for embedded portlets.
Steps to reproduce in 7.0.x
- Start a portal in liferay-fix-pack-de-69-7010.
- Deploy attached theme new-70-theme.war with an asset publisher embedded.
- Create a page and configure to use this new-70-theme. (Configure Page > (tab) Look and Feel > select option 'Define a specific look and feel for this page.' and select new-70-theme)
- Configure embedded asset publisher (Configuration Menu) in the new page created:
- Select Dynamic.
- Select Source > Asset Type: Blogs Entry.
- Create a new Web content.
- Create a new Blog entry.
- Check that asset publisher is just showing the Blog entry.
- Shutdown the portal.
- Install liferay-fix-pack-de-70-7010 with patching-tool.
- Remove osgi/state/.
- Start portal and check new page created.
Current behavior
Asset Publisher has lost his configuration and is showing the Web content and the Blog entry.
Expected behavior
Asset Publisher is still configured to show just the Blog entry.
This behavior could be reproduced too if, after complete steps 2 to 8, change the database, in the table Release_, the schemaVersion value from 1.0.2 to 1.0.1 where servletContextName is 'com.liferay.asset.publisher.web' (only for test):
update Release_ set schemaVersion = '1.0.1' where servletContextName = 'com.liferay.asset.publisher.web' and schemaVersion = '1.0.2';
After start the portal again, this behavior should be reproduced because upgrades for asset publisher should be executed.