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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: