[
https://jira.nuxeo.com/browse/NXP-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Jalon updated NXP-8105:
--------------------------------
Description:
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...
was:
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...
Summary: No merge for contributions into Notification Service (was:
Notification Service not override a Notification definition when the
Notification have the same name)
> No merge for contributions into Notification Service
> ----------------------------------------------------
>
> Key: NXP-8105
> URL: https://jira.nuxeo.com/browse/NXP-8105
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Components: Notifications
> Affects Versions: 5.5
> Reporter: Benjamin Jalon
> Fix For: 6.0
>
>
> 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...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets