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

contextResolvingValve is configured too early in the processing valves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • 2.30.00
    • 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

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: