Theme template call $model.getRequestParameter will throw NPE during preview
----------------------------------------------------------------------------

                 Key: ROL-1517
                 URL: 
http://opensource.atlassian.com/projects/roller/browse/ROL-1517
             Project: Roller
          Issue Type: Bug
          Components: Page Rendering & Management
    Affects Versions: 4.0
            Reporter: Miles Huang
            Assignee: Roller Unassigned


The PreviewServlet doesn't provides the model objects initDatas without 
requestParameters. Thus the PageModel.requestParameter member will be null 
after initialize.
If a template needs to call $model.getRequestParameter method, it will get NPE 
during preview, and the preview window will return a 500 internal error page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to