Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3164

Backport: contextResolvingValve is configured to early in the processing valves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • 2.28.08
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: