Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Paul PiaoPaul Piao(Deactivated)Reporter
SMC - Pier Paolo RamonSMC - Pier Paolo RamonLabels
Branch Version/s
6.1.xBackported to Branch
CommittedFix Priority
3Git Pull Request
Bug Type
Regression BugComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Paul Piao
Paul Piao(Deactivated)Reporter
SMC - Pier Paolo Ramon
SMC - Pier Paolo RamonLabels
Branch Version/s
6.1.x
Backported to Branch
Committed
Fix Priority
3
Git Pull Request
Bug Type
Regression Bug
Components
Fix versions
Affects versions
Priority
Zendesk Support
Zendesk Support
Zendesk Support
Created April 16, 2012 at 9:49 AM
Updated June 24, 2023 at 3:54 PM
Resolved August 28, 2012 at 2:56 PM
Once LPS-15921 has landed is now possible to make hidden every layout in a layoutSet.
This leads to a
layouts==null
and bottom_js.jspf tries to iterate over it.The iteration can be found on https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/common/themes/bottom_js.jspf#L127.
Incriminated code is here: https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/com/liferay/portal/events/ServicePreAction.java#L1654
As you'll see if
viewableLayouts.isEmpty()
then yelds tonull
. This value is not always sanitized to an emptyArrayList<Layout>
as we might expect.