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
variable not being set in the template. After some
investigation it appears that the code used in
attempting to access $
, however the page.layout does not exist in
Changing the template to access $psrc.getPageOrTemplate() appears to fix the
issue, however I am not sure if that is the correct fix.