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

Jan Haderka updated MAGNOLIA-4480:
----------------------------------

    Fix Version/s:     (was: 5.0)

> MgnlContext.getUser().inGroup("xxx") throws NPE
> -----------------------------------------------
>
>                 Key: MAGNOLIA-4480
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4480
>             Project: Magnolia
>          Issue Type: Bug
>      Security Level: Public
>          Components: security
>    Affects Versions: 4.5.3
>         Environment: Windows, 4.5.3 EE Bundle
>            Reporter: Richard Unger
>            Assignee: Milan Divilek
>            Priority: Major
>             Fix For: 4.5.5
>
>         Attachments: stacktrace.txt
>
>
> Calling MgnlContext.getUser().inGroup() produces NPE.
> You can verify this quickly with the groovy console.
> {code}
> Welcome to the Magnolia Groovy Interactive Console! Type 'help' for more info 
> and a list of available commands. [Using Groovy version 1.7.10].
> mgnl> usr = MgnlContext.getUser();
> ===>
> MgnlUser - superuser [51ae3379-67cf-4994-9e05-f97cb8bc3e4a]
> mgnl> usr.inGroup("foo");
> NullPointerException: null
> mgnl> {code}

-- 
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/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to