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

Spring event type settings of EventListenersContainer do not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.04.02
    • 2.05.05, 2.20.04, 2.21.01
    • None
    • None

    Description

      In HST Spring configuration (normally META-INF/client-assembly/base.xml) an EventListenersContainer was set up.
      When setting event-enabled configuration properties to false, still all the events are triggered.

      For example, see the Hippo forge properties-demo project (http://forge.hippo-ecm.org/svn/properties/properties-demo/trunk) that has this:
      <bean id="org.hippoecm.hst.core.jcr.EventListenersContainer" class="org.hippoecm.hst.core.jcr.EventListenersContainerImpl"
      <bean class="org.hippoecm.hst.core.jcr.EventListenerItemImpl">
      <property name="nodeAddedEnabled" value="true" />
      <property name="nodeRemovedEnabled" value="false" />
      <property name="propertyAddedEnabled" value="false" />
      <property name="propertyChangedEnabled" value="false" />
      <property name="propertyRemovedEnabled" value="false" />
      When debugging, the PropertiesEventListener gets all events when editing a properties document.

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: