roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miles Huang (JIRA)" <nore...@atlassian.com>
Subject [Roller-JIRA] Created: (ROL-1517) Theme template call $model.getRequestParameter will throw NPE during preview
Date Thu, 02 Aug 2007 15:52:24 GMT
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

        

Mime
View raw message