Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-903

Customizer removes the Portlet Fragments when Security Constraints are Used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1.3, 2.2.0
    • 2.1.3, 2.2.0
    • Customizer
    • 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>

      http://www.nabble.com/Customizer-removes-the-Portlet-Fragments-when-Security-Constraints-are-Used-td19400227.html

      Attachments

        Activity

          People

            taylor David Sean Taylor
            prasana Prasanna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: