Jetspeed 2
  1. Jetspeed 2
  2. JS2-1190

Cannot add portlet with JetSpeed 2.2.1 Classic Portal

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2
    • Component/s: Customizer
    • Labels:
      None

      Description

      Adding a portlet by editing a page fails with a fresh install of the 2.2.1
      Jetspeed portal with the Classic layout. The issue is related by the
      $

      {profiledPage}

      variable not being set in the template. After some
      investigation it appears that the code used in
      webapps/jetspeed/WEB-INF/templates/layout/html/columns/layout.vm is
      attempting to access $

      {psrc.page.layout}

      , however the page.layout does not exist in
      components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/portalsite/impl/PortalSiteRequestContextImpl.java.
      Changing the template to access $psrc.getPageOrTemplate() appears to fix the
      issue, however I am not sure if that is the correct fix.

        Activity

        David Sean Taylor created issue -
        David Sean Taylor made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        28m 33s 1 David Sean Taylor 27/Apr/10 19:40

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development