MgnlContext.getHierarchyManager with an unexisting workspace yields an NPE
--------------------------------------------------------------------------

                 Key: MAGNOLIA-2745
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2745
             Project: Magnolia
          Issue Type: Bug
          Components: core
            Reporter: Grégory Joseph
            Assignee: Philipp Bärfuss
             Fix For: 4.1


.. it should throw a more explicit expression (at least an 
IllegalArgumentException) - currently 
{{info.magnolia.cms.beans.config.ContentRepository#getRepository}} just logs a 
warning, returns null, and 
{{info.magnolia.cms.util.WorkspaceAccessUtil#createRepositorySession}} 
consequently throws an NPE.

-- 
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