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

Inconsistent behavior of custom notifications filters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 13.3, 12.10.9
    • 13.2-rc-1
    • Notifications
    • Windows 10 Pro 64 bit, Chrome 90, using a local instance XWiki 13.3 RC1 on HSQLDB 2.5.1, Jetty 9.4.29
    • Medium
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Access a Jetty+HSQL instance with Chrome or Edge browser
      2. Login as an user
      3. Go to Notifications Settings and add a custom filter for a page, e.g.:
        Location -> "Sandbox.TestPage1"
        Action -> Notify of the event
        Events type (Pages) -> A page is modified
        Channel -> Alert & Email
      4. Click on Notifications Bell and switch 'Watch this wiki' toggle to OFF
      5. Refresh the page

      EXPECTED RESULTS

      In addition to the existing global filter for Sandbox.TestPage1, another custom filter is added for the whole Wiki with ignoring all the events.

      ACTUAL RESULTS

      The ignore all events filter is added, but on its location is displayed also 'Sandbox.TestPage1' instead of Wiki.

      The filter does not display the correct location even if the page is hard refreshed or browser cache is cleared most of the times.

      If  'Watch this wiki' toggle is switched to ON, then again to OFF, the location is correct, but after one or two page refreshes, it displays back 'Sandbox.TestPage1'.

      Other times after toggle is switched to OFF, then again to ON, the initial custom filter disappears and is not displayed back at all.

      The issue seems to not reproduce on Tomcat, but only on Jetty with Chrome and Edge browsers, on Firefox and IE11 the location is correctly displayed from the start.

      The issue could not be reproduced on XWiki 13.2 or 12.10.6.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: