[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph resolved MAGNOLIA-2360.
--------------------------------------
Resolution: Fixed
done for both {{ContentRepository.getRepositoryProvider}} and
{{ContentRepository.getRepository()}}
> Need a clear warning or exception when a repo/workspace does not exist.
> -----------------------------------------------------------------------
>
> Key: MAGNOLIA-2360
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2360
> Project: Magnolia
> Issue Type: Improvement
> Components: core
> Reporter: Grégory Joseph
> Assignee: Grégory Joseph
> Fix For: 4.1.1
>
> Attachments: tree-wrong-workspace-name-exception.txt
>
>
> Currently, if you do MgnlContext.getHierarchyManager("some-random-name"),
> there's a high chance you'll end up with an intricate NullPointerException.
> This should fail early with a clear exception message.
> See attachment for an example of a stacktrace when one tries to instanciate a
> tree with a wrongly configured workspace name. (see MGNLDMS-99)
--
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]>
----------------------------------------------------------------