Need a clear warning or exception when a repo/workspace does not exist.
-----------------------------------------------------------------------

                 Key: MAGNOLIA-2360
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2360
             Project: Magnolia
          Issue Type: Improvement
          Components: core
            Reporter: Gregory Joseph
            Assignee: Philipp Bracher
             Fix For: 3.6.x
         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.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to