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

MgnlContext.getHierarchyManager with an unexisting workspace yields an NPE

    XMLWordPrintable

Details

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

    Description

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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD