Status: In Review
Affects Version/s: 7.3.10 DXP GA1, 7.3.X, Master
Fix Version/s: None
Sprint:Upgrade|2.1-2.15|Ensaladilla, Upgrade|2.17-3.3|Espeto, Upgrade|3.3-3.17|Gallinejas, Upgrade|3.17-3.31|Gazpacho
Git Pull Request:
After upgrading from 7.2 to 7.3 (or master), the Style Books is no longer accessible and throws errors. See attached logs for more information.
Steps to Reproduce:
- Launch a clean 7.2 DXP bundle.
- Shut down the bundle once portal appears in the browser.
- Upgrade to 7.3 and launch the 7.3 bundle.
- Navigate to [Site_Administration] > Design > Style Books.
Style Books is unavailable. The message "Style Books is temporarily unavailable." is displayed.
Style Books is available and does not cause errors.
Upon examination, the issue is caused by missing model resource permissions for the Style Books portlet. For some reason, after an upgrade, the portal startup fails to create these permissions. Specifically, the portal startup fails to read the model resources (ServiceConfigurationInitializer._readResourceActions()) before the default resource permissions are created (ResourcePermissionLocalServiceImpl.initPortletDefaultPermissions()), resulting in missing resource permissions for the Style Books portlet. A non-upgraded portal does not experience this issue.