-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5
-
Fix Version/s: 5.6.0-HF21, 5.7.2
-
Component/s: Notifications
-
Impact type:Deployment change
-
Upgrade notes:
Notification Service not override a Notification definition when the Notification have the same name
The standard pattern into the Nuxeo platform for a service is:
When you contribute a descriptor with the same name, the descriptor override the first one registered. So for instance:
<?xml version="1.0" encoding="UTF-8"?> <component name="com.caristix.nuxeo.ecm.platform.notification.service.NotificationContrib"> <require>org.nuxeo.ecm.platform.notification.service.NotificationContrib</require> <extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="notifications"> <notification name="Modification" channel="email" availablein="Workspace" autosubscribed="true" template="yourtemplate" subject="Document modified" label="label.nuxeo.notifications.modif"> <event name="documentModified"/> </notification> ...
Will create 2 notifications...
- depends on
-
NXP-12215 Fix subscriptions to Creation and Modification in Workspaces if Social Collaboration is installed
- Resolved