Skip to content

Task Manager notifications are split if the user watches page update events #376

Description

@abrassat

Describe the bug
If a user watches page update events in addition to TaskManager events, the notifications will be split into 2.

This is because the 2nd notification is actually containing the Page Updated notification too (which isn't displayed at all)

Steps to reproduce
Steps to reproduce the problematic behavior:

  1. Ensure you're watching both TaskManager and Page Update Notifications
  2. Edit task properties & save

Expected behavior
A single notification is shown with all changes

Actual behavior
2 notifications are shown, the 2nd one only contains one change.

Screenshots
All the following changes were done at the same 'Save&View' click, but they appear split:

Image

Environment (please complete the following information):

  • OS: linux mint
  • Browser firefox
  • XWiki version 15.10
  • App version 3.11.0

Additional context
Could be fixed by altering the way the notifications are made: Instead of sending n notifications for a save, send only one, containing the details of the n changes.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions