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

When unfollowing a document, notification service leaves notification 'Workflow Change' (no subscribers) in 'notification' schema

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.2
    • Fix Version/s: 7.10-HF11, 8.3
    • Component/s: Notifications

      Description

      in method SubscriptionAdapter#setNotificationMap, the following code block

                  propMap.put(NOTIF_NAMEKEY, entry.getKey());
                  propMap.put(NOTIF_SUBSCRIBERSKEY, new ArrayList<String>(entry.getValue()));
                  props.add(propMap);
      

      should be executed only if list entry.getValue() is not empty, otherwise a notification with no subscriber is added to list props, which then is saved in database.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 3 hours
                  3h