Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Properties Plugin 2.08.00
Description
Currently, the event listener is defined like this in its demo:
<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" />
<property name="absolutePath" value="/" />
<property name="deep" value="true" />
<property name="uuids">
<null />
</property>
<property name="nodeTypeNames" value="properties:properties" />
<property name="noLocal" value="false" />
<property name="eventListener">
<bean class="org.onehippo.forge.properties.listener.PropertiesEventListener">
<property name="propertiesManager" ref="org.onehippo.forge.properties.api.PropertiesManager.labels" />
</bean>
</property>
</bean>
So, it listens to events when properties:properties document is added only, but doesn't listen to compound node addition or properties changes at all.
This is not a good example in projects where any changes are expected to be picked up at runtime.