[
http://opensource.atlassian.com/projects/roller/browse/ROL-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Johnson updated ROL-1517:
-------------------------------
Assignee: David Johnson (was: Roller Unassigned)
Fix Version/s: 4.0
> 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: David Johnson
> Fix For: 4.0
>
>
> 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