Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1.3, 2.2.0
-
None
-
windows/tomcat/derby/
Description
When customizing a page that contains security constraints in portlet fragments, the resulting page removes the portlet fragments that has the security constraints.
This is a partial snippet of my default-page.psml before customization:
<fragment id="dp-layout-twocol" type="layout" name="jetspeed-layouts::VelocityTwoColumns">
<fragment id="dp00-body-login" type="portlet" name="j2-admin::LoginPortlet">
<property name="row" value="0"/>
<property name="height" value="200"/>
<property name="column" value="0"/>
<security-constraints>
<security-constraint>
<roles>user</roles>
</security-constraint>
<security-constraints-ref>guest-only</security-constraints-ref>
</security-constraints>
</fragment>
<fragment id="dp00-body-forgot" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
<property name="row" value="0"/>
<property name="height" value="600"/>
<property name="column" value="1"/>
<security-constraints>
<security-constraint>
<roles>user</roles>
</security-constraint>
<security-constraints-ref>guest-only</security-constraints-ref>
</security-constraints>
</fragment>
<fragment id="dp00-body-news" type="portlet" name="my-application::news-event">
<property name="row" value="1"/>
<property name="column" value="0"/>
</fragment>
<fragment id="dp00-body-rss" type="portlet" name="my-application::rss-feed">
<property name="row" value="1"/>
<property name="column" value="1"/>
</fragment>
</fragment>
This is a partial snippet of my default-page.psml after I customized the page.
<fragment id="dp-layout-twocol" type="layout" name="jetspeed-layouts::VelocityTwoColumns">
<fragment id="dp00-body-news" type="portlet" name="my-application::news-event">
<property name="row" value="1"/>
<property name="column" value="0"/>
</fragment>
<fragment id="dp00-body-rss" type="portlet" name="my-application::rss-feed">
<property name="row" value="1"/>
<property name="column" value="1"/>
</fragment>
</fragment>