[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka reopened MAGNOLIA-3732:
-----------------------------------


the wrapper should check that wrapped node data really exists and not wrap null 
data
{noformat}
java.lang.NullPointerException
        at 
info.magnolia.cms.util.NodeDataWrapper.getString(NodeDataWrapper.java:149)
        at info.magnolia.cms.security.MgnlUser.getLanguage(MgnlUser.java:277)
        at 
info.magnolia.context.UserContextImpl.setLocaleFor(UserContextImpl.java:98)
        at 
info.magnolia.context.UserContextImpl.getLocale(UserContextImpl.java:62)
        at info.magnolia.context.MgnlContext.getLocale(MgnlContext.java:98)
        at 
info.magnolia.freemarker.FreemarkerHelper.checkLocale(FreemarkerHelper.java:177)
        at 
info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:144)
        at 
info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:130)
        at 
info.magnolia.freemarker.FreemarkerUtil.process(FreemarkerUtil.java:135)
        at 
info.magnolia.cms.security.auth.callback.FormClientCallback.doCallback(FormClientCallback.java:74)
{noformat}

> SystemContentWrapper fails to wrap hierarchy manager of its node data
> ---------------------------------------------------------------------
>
>                 Key: MAGNOLIA-3732
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3732
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.4.4
>            Reporter: Jan Haderka
>            Assignee: Ondřej Chytil
>             Fix For: 4.4.5
>
>         Attachments: mag3732-test.patch
>
>


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




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to