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

Notifications Applications filters sub-toggles do not synchronize with the main toggles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.10.13
    • Notifications
    • None
    • Windows 11 Pro, Firefox 152, using an instance of XWiki 18.4.1 on PostgreSQL 17, Tomcat 11.0.22
    • Unknown

    Description

      Steps to reproduce

      1. Go to the user's Notifications Preferences
      2. Under the "Applications" section, expand down the filter toggles for "Pages"
      3. Switch OFF a sub-toggle (e.g. "A page is deleted" from 'Notification menu' column)
      4. On the main "Pages" toggle, click on the right side of the toggle (the OFF part) to switch it to ON (and all sub-filters under it, subsequently)
      5. Observe the toggles

      Expected results

      Once the main 'Pages' toggle is switched ON, all subsequent sub-toggles are switched to ON as well (including the one switched OFF previously).

      Actual results

      The main 'Pages' toggle is switched ON, but the sub-filter toggle remains OFF. If the page is refreshed, the main 'Pages' filter toggle returns back to undecided state.

      Moreover, it seems that switching the sub-toggles state on a column (i.e. 'Email') affects the Main toggle on the other column (i.e. 'Notification menu').

      For example: switch 'A page is deleted' sub-toggle OFF on both columns, then click on the right side of the main toggle from 'Notification menu' to switch it ON (at this point the sub-toggle remains OFF) and when switching a sub-toggle from the other column 'Email, the main toggle from 'Notification menu' is switched back to undecided state (see Toggles_not_synchronizing2.mp4)

      I've tried on Firefox and Chrome as well and cleared the browser's cache.

      I've attached some recordings which are relevant for the issue.

      The issue could be reproduced on XWiki 11.10.13 as well (oldest tested version).

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: