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

'Is enabled' filter doesn't keep it's value after page refresh and does not display back all entries after clearing it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • 16.5.0-rc-1, 15.10.11, 16.4.1
    • 16.3.0-rc-1
    • Live Data, Notifications
    • Windows 11 Pro, Edge 124, using a local instance of XWiki 16.3.0 RC1 on Oracle 19c, Tomcat 9.0.88
    • Unknown

    Description

      Steps to reproduce

      1. Login
      2. Go to Notifications Settings
      3. Add some filters on the 'Custom Filters' section by watching some pages (which will have the 'Is enabled?' toggle set to ON)
      4. On 'Is enabled?' column, click on the filter box drop-down and select 'False'
      5. Refresh the page
      6. Observe the value of the 'Is enabled?' drop-down filter box
      7. Select 'False' again from the drop-down
      8. Clear it (using Backspace key)

      Expected results

      The value of the 'Is enabled?' drop-down filter is kept after page refresh (e.g. 'False').

      After the 'False' value is cleared, all entries are displayed back in the table.

      Actual results

      The 'Is enabled?' drop-down filter doesn't display anything after page refresh.

      Since the existing filters had the 'Is enabled?' toggle set to ON, the LD is empty, which is confusing.

      Moreover, at this point, if 'False' is selected again and then the value is cleared, the entries are not displayed back in the table.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: