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

Notification toggles are not switching properly and require page refresh to display their real status

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.10.13
    • Fix Version/s: 13.3-rc-1, 12.10.7
    • Component/s: Notifications
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Chrome 89, using a local instance XWiki 13.2 on Oracle 19c, Tomcat 9.0.44
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as an user
      2. Click on Notifications bell, turn 'Watch the wiki' toggle to OFF
      3. Go to Notifications Settings and add an Inclusive filter (or 'Notify of the event') for 'Sandbox' page (for ex. using the Event from Pages > 'A page is modified')
      4. Go to Sandbox page
      5. Click on Notifications bell, turn 'Watch this page' toggle to ON
      6. Turn 'Watch this page' toggle to OFF

      EXPECTED RESULTS

      Only the 'Watch this page' toggle turns to ON, then turns OFF properly.

      ACTUAL RESULTS

      Together with 'Watch this page' toggle, also 'Watch this page and its children' toggle turns to ON.

      When trying to turn any of those toggles to OFF, nothing happens in UI, but the message 'Saved!' is displayed on the bottom of the page.

      However, after a page refresh, the status of the toggles is displayed properly.

      The issue reproduces also on XWiki 12.10.5 and 13.2.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: