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

Testsuite: Specialized custom session pool Spring bean for the 'fr' mount *may* be initialized incorrectly

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Sprint:
      Platform Sprint 137
    • Processed by team:
      Platform

      Description

      only in testsuite, so no backport needed:

      in customExtraBasicPoolingRepository.xml

      we have:

      <bean id="_customUserSessionPool" class="org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository"
      init-method="initialize" destroy-method="close">

      This _customUserSessionPool requires that hstJmvEnabledUsers also contains the extra '${custom.repository.user.name}'

      However, bean with id="_customUserSessionPool" can be instantiated before bean with id="addCustomJvmEnabled". Therefore, we need to add depends-on="addCustomJvmEnabled" to bean '_customUserSessionPool'

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: