Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2745

MgnlContext.getHierarchyManager with an unexisting workspace yields an NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.1
    • None
    • core
    • None

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

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD