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

aggregation state loses all information on forwards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.3.2
    • 4.3.1
    • None
    • None

      The Problem

      The aggregation state is set to null on each forward. This is problematic as we also store the locale and site in the aggregation state. As a consequence all this information is lost after a virtual uri mapping which forwards.

      Example:

      1. request to /de/page/param.html
        • locale is set to de
        • current uri is /page/param.html
      2. virtual uri mapping
        • forward to /page.html?param
      3. re-execution
        • ContentTypeFilter resets the aggregation state
        • locale is now the default locale:en

      Solution

      We could simply not reset the aggregation state but this conflicts with MAGNOLIA-3203 (resetting original URI on forward). So we can either fix MAGNOLIA-3203 or reset the aggregation state partially.

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              pbaerfuss Philipp Bärfuss
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD