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

MgnlContext.getAggregationState().getOriginalBrowserURL() returns path to template not requested URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • 4.5
    • 4.4.2
    • core
    • None

      When calling MgnlContext.getAggregationState().getOriginalBrowserURL() the path to the template is returned.

      Example:
      Calling "http://localhost:8080/site/index.html" - inside a simple jsp template printing "MgnlContext.getAggregationState().getOriginalBrowserURL()" returns "http://localhost:8080/site/templates/pages/main.jsp".

      Same applies to "MgnlContext.getAggregationState().getExtension()" - return "jsp" instead of "html", "MgnlContext.getAggregationState().getOriginalBrowserURI()" etc.

        Acceptance criteria

              tmattsson Tobias Mattsson
              thomas Thomas Martin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD