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

Fix multiple notifications for 1 subcription on comments

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Only 1 notification is sent when a comment is added.
    • Tags:

      Description

      Clients receive multiple notifications (3 mails) per comment created when the server is configured with a specific contribution.

      Expected Result: only 1 notification mail per comment created

      How to reproduce:

      • Take a hotfixed 10.10 instance with JSF installed
      • Add to the configuration an SMTP emulator (e.g. FakeSMTP), start it and target it by Nuxeo
      • Add the attached contribution in nxserver/config
      • Boot Nuxeo
      • Ensure in the_admin_console that the comments are using the Current state: Comments stored under the commented document (Unsure whether this is a required step)
      • create a Workspace in JSF and for this worskpace, in the manage_>_alerts_tab, create a subscription for user Administrator on New Comment
      • Create a Note document in this folder
      • Add a comment to the Note, and notice in the SMTP emulator that 3 pieces of mail are sent by Nuxeo
      • (Unsubscribe in the Workspace Administrator from the New Comment alert, then when adding a comment to the Note, no mail is sent at all)

        Attachments

        1. notifications-NXP-30131-config.xml
          1.0 kB
          Patrick Abgrall
        2. notifications-NXP-30131-config.xml
          9 kB
          Patrick Abgrall
        3. notifications-SUP32905-config.xml
          9 kB
          Patrick Abgrall

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m