Notification Service not override a Notification definition when the 
Notification have the same name
----------------------------------------------------------------------------------------------------

                 Key: NXP-8105
                 URL: https://jira.nuxeo.com/browse/NXP-8105
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
            Reporter: Benjamin Jalon


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

Reply via email to