Jetspeed 2
  1. Jetspeed 2
  2. JS2-903

Customizer removes the Portlet Fragments when Security Constraints are Used

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.3, 2.2.0
    • Fix Version/s: 2.1.3, 2.2.0
    • Component/s: Customizer
    • Labels:
      None
    • Environment:
      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

        Activity

        Hide
        David Sean Taylor added a comment -

        patch applied to 2.1.3 and 2.2, please test

        Show
        David Sean Taylor added a comment - patch applied to 2.1.3 and 2.2, please test
        Hide
        David Sean Taylor added a comment -

        Will apply this fix to both 2.1.3-post-release and 2.2

        Show
        David Sean Taylor added a comment - Will apply this fix to both 2.1.3-post-release and 2.2

          People

          • Assignee:
            David Sean Taylor
            Reporter:
            Prasanna
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development