Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8105

No merge for contributions into Notification Service

    XMLWordPrintable

    Details

    • 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:
      Hide

      Fix override deployment logic for notification service

      Show
      Fix override deployment logic for notification service

      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...

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: