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

Adapt results count displayed in nuxeo-results when total count is unknown

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.7, 2.4.52
    • Fix Version/s: 3.0.10
    • Component/s: Web UI

      Description

      Following the fix done for NXP-30633, the total count (aka results count in paginated lists returned by the rest API) cannot be computed within the MongoDB socket timeout because there are too many results.

      When this occurs, we will return a total count of -2 meaning it is unknown.

      We should adapt the results count displayed in nuxeo-results element.

      Attached screenshot (before.png) shows how the Web UI will display the result counts when MongoDB times out. We must improve to a generic label like "Many results"

        Attachments

        1. after.png
          after.png
          489 kB
        2. before.png
          before.png
          520 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m