Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3164

Backport: contextResolvingValve is configured to early in the processing valves

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.28.08
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      Problem is that the contextResolvingValve is in charge of creating HstComponentWindow instances, possibly conditional on available HstComponentWindowFilter instances. However, the latter typically depend on that first the securityValve, subjectBasedSessionValve and jcrSessionStatefulConcurrencyValve have run. Hence, the order should be changed from

      <ref bean="contextResolvingValve" />
      <ref bean="localizationValve" />
      <ref bean="securityValve" />
      <ref bean="subjectBasedSessionValve" />
      <ref bean="jcrSessionStatefulConcurrencyValve"/>
      to
      <ref bean="securityValve" />
      <ref bean="subjectBasedSessionValve" />
      <ref bean="jcrSessionStatefulConcurrencyValve"/>
      <ref bean="contextResolvingValve" />
      <ref bean="localizationValve" />

      to avoid this typical problem. The HstComponentWindowFilter javadoc should also be more explicit in this

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fvlankvelt Frank van Lankvelt (Inactive)
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: