Cannot add portlet with JetSpeed 2.2.1 Classic Portal 
------------------------------------------------------

                 Key: JS2-1190
                 URL: https://issues.apache.org/jira/browse/JS2-1190
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Customizer
    Affects Versions: 2.2.1
            Reporter: David Sean Taylor
            Assignee: David Sean Taylor
             Fix For: 2.2.2


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.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to