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

Inconsistent behavior of Notifications Custom Filters Preferences Macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 13.3-rc-1
    • Fix Version/s: 13.3
    • Component/s: Notifications
    • Labels:
    • Environment:
      Linux Mint 20.1 Cinnamon 64bit, Chrome 90, using a local instance XWiki 13.3 RC1 on HSQLDB 2.5.1, Jetty 9.4.29
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce
      1. Go to Notifications Settings, click "+Add filter" button and create some Custom Filters
      2. Edit a page with CKEditor
      3. Add Notifications Custom Filters Preferences Macro
      4. Observe the existing filters on the macro
      5. Click on the top right bell icon > Notifications > Settings
      6. On the Custom Filters section, add a new filter and change some existing filters' settings (turn some toggles ON/OFF)
      7. Go to the edited page and observe the filters on the macro
      8. On the Macro, delete a filter and change some existing filters' settings
         
        Expected results

      The Notifications Custom Filters Preferences Macro is displayed into the page. 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

      The Notifications Custom Filters Preferences Macro is displayed into the page.

      If the changes are made from Notification Settings, the updates are reflected on Macro but vice versa does not work. Trying to delete a filter or change a filter settings (ON/OFF) from Macro gives the error shown in screenshot attached. 

      The issue does not reproduce on XWiki 13.2 and reproduces only on Jetty.

       

       

        Attachments

          Activity

            People

            Assignee:
            surli Simon Urli
            Reporter:
            asiriciuc Alexandra Siriciuc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: