Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15122

Notifications Filters Preferences Macro isn't synchronizing properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.11.3
    • Fix Version/s: 10.2, 9.11.4
    • Component/s: Notifications
    • Labels:
    • Environment:
      Windows 10, Chrome 65, XWiki 9.11.3 with PostgreSQL 9.6.3
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Edit a page with CKEditor
      2. Click on XWiki Macro button
      3. Search for Notifications Filters Preferences Macro
      4. Click 'Submit'
      5. Click 'Save & View'
      6. Click on the top right bell icon > Notifications > Settings
      7. On the Filters section, add a new filter and set them all to ON
      8. Go to the edited page and observe the filters on the macro
      9. Add a new filter from this page and change all filter to OFF
      10. Observe the filters in the Notification Settings

      Expected results: The filters are synchronized with the existing ones on Notification Settings. If they are changed from the Macro, the updates are reflected on Notification Settings and vice versa.

      Actual results: Some of the existing filters aren't synchronized properly.

      • Read Event Filter (Email) and Read Event Filter (Alert) remain OFF on the macro page even if all filters are ON in the Notifications Settings one.
      • When setting all notifications to OFF from the macro page the Read Event Filter (Email), Read Event Filter (Alert), System Filter and Own Events Filter remain ON in the Notifications Settings
        Also tried vice versa:
      • When all the filters in the Notifications Setting are set to OFF the Notifications list appears to keep on loading and the System Filter and Own Events Filter appear to remain ON in the notification macro page.
      • When setting all filters to ON in the macro page, after a refresh, the Read Event Filter (Email) and Read Event Filter (Alert) are set to OFF. The filters in the Notification Settings appear to be ON only for the new created filters.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                ganechitoaei Gabriela Anechitoaei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: