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

Live data doesn't apply filters from configuration on load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13.8-rc-1, 13.4.4
    • Fix Version/s: 13.4.4, 13.9, 13.10-rc-1
    • Component/s: Live Data
    • Labels:
      None
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Filters in Live Data are not applied when reloading the page after filtering the results. While the filter values are displayed, the results do not respect them. Only after triggering an update of the results, e.g., by modifying one of the filters, the results are reloaded.

      This is a regression introduced in 13.8RC1. The regression is introduced in commit 3847664da0ade669a2438f93486c193b5ffea030 which moves loading the entries before (parts of) the initialization. Reverting that part of the commit fixes the issue. A cherry-pick of this commit is included in the 13.4.x branch and thus scheduled for release in 13.4.4.

      Steps to reproduce:

      Go to menu -> Administer Wiki -> Other -> Logging

      Enter "jmat" in the input under "Logging". Reload the page.

      Expected result:

      Just three results are displayed as before reloading.

      Actual result:

      All 1878 results are displayed (depends on the distribution).

      Note that this affects all live data instances, not just this one, this is just the oldest one and thus easiest to reproduce across all versions.

        Attachments

          Activity

            People

            Assignee:
            mleduc Manuel Leduc
            Reporter:
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: