Uploaded image for project: 'Extended Templating Kit (closed)'
  1. Extended Templating Kit (closed)
  2. MGNLETK-70

NPE when attempting to use DomainNamePathTransformer outside of webcontext

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.4.5
    • 1.4.2, 1.4.4
    • multisite
    • None

    Description

      Exception in stacktrace.txt

      In the code:

      WebContext ctx = MgnlContext.getWebContextOrNull();
      ExtendedAggregationState state = (ExtendedAggregationState) ctx.getAggregationState();
      

      So, at least it is a bit strange that it does 'getWebContextOrNull' and than doesn't anticipate the null.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ochytil Ondrej Chytil
                mihxil Michiel Meeuwissen
                Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: