-
Bug
-
Resolution: Fixed
-
Major
-
2.4.0
-
None
-
4.3 M3
1. Declare a new page notification observer with his site parameter
<extension point="org.ametys.web.site.SiteConfigurationExtensionPoint" id="page.subscription.specification.reaction"> <param id="page-subscription-specification-reaction" type="boolean"> <label i18n="false">Réagir à des parties de la spécification</label> <description i18n="false">Cochez cette case si les abonnés à la page doivent être notifiés lors qu'on réagit à une partie de la spécification de la page</description> <default-value>true</default-value> <category i18n="true">plugin.page-subscription:PLUGINS_PAGE_SUBSCRIBE_CONFIG_CATEGORY</category> <group i18n="true">plugin.page-subscription:PLUGINS_PAGE_SUBSCRIBE_CONFIG_GROUP</group> </param> </extension> <extension point="org.ametys.core.observation.ObserverExtensionPoint" id="org.ametys.plugins.specifications.listener.reaction" class="org.ametys.plugins.specifications.PageSubscriptionReactionObserver"> </extension>
2. Go to the site configuration panel. This parameter is checked or in the JCR this parameter is not set.
The API return false as default value so notification is not sent