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

TemplatingFunctions loses repository exception due to NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.6.1
    • templating
    • None

    Description

      A call to TemplatingFunctions#nodeByPath() that fails due to an ACL placed on the requested node path results in a NullPointerException in TemplatingFunctions#handleRepositoryException(), because the current content node in the AggregationState can be null.

      NPE's aren't being catched, so the log.debug() call never gets executed an the original Exception is lost.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              rtenberge Ronald Ten Berge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD