Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-822

Ensure nuxeo-results always displays new filter results after loading old results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.63
    • Component/s: Web UI
    • Release Notes Summary:
      nuxeo-results always displays new filter results after loading old results
    • Backlog priority:
      800
    • Upgrade notes:
      Hide

      To fix this issue we introduced a new feature flag named nuxeo.resource.uncancelable with default value true. With this, we keep the same expected behavior, while clients can benefit from the upgrade of nuxeo-js-client to version 3.18.0.

      To disable the feature, we just need to add the configuration property to nuxeo.conf set to false.

      Show
      To fix this issue we introduced a new feature flag named nuxeo.resource.uncancelable with default value true. With this, we keep the same expected behavior, while clients can benefit from the upgrade of nuxeo-js-client to version 3.18.0. To disable the feature, we just need to add the configuration property to nuxeo.conf set to false .
    • Team:
      UI
    • Sprint:
      UI - 2022-06, UI - 2022-7, UI COOLDOWN - 2022-06

      Description

      Steps to reproduce:
      1. In Web UI, import a set of documents into a Folderish document such that:
           -A large number of documents' names begin with or include 'e' (for example, 'ergonomic').
           -A very small number begin with or include a more specific prefix like 'eml' (for example, 'found_it.eml').
           The attached .csv file provides for 2000 Note documents with title containing 'e' and 4 containing 'eml'.
      2. In the Folderish document's View layout, change the setting to use nuxeo-data-table
      3. In the Title column of the table, filter using the following steps:
           1. Type 'e' in the column filter
           2. While the page provider result is loading (i.e. results count is greyed out) add 'ml' to the filter such that it filters on 'eml'.

      This is more easily performed when the document count becomes extremely high (in the millions). To better reproduce at smaller document counts and visually observe load and response times, open the browser dev tools' Network tab and filter on execute? requests.

      Expected result: the data table may first display the result of filtering on 'e', but updates to show the results of the current filter setting 'eml'.

      Actual result: the data table displays the result of filtering on 'eml', but updates to display the results of the prior filter using 'e' (while column filter text still displays 'eml'). If recording Network activity, it is seen that the old search request returned following the new one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdias Ricardo Dias
                Reporter:
                hmiskaryan Henry Miskaryan
                Participants:
                Reviewers:
                Gabriel Barata, Samuel Fialho
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 5 minutes
                  1d 4h 5m