Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-483

Set max items default values in PageProviderDisplayBehavior

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.2.0
    • Component/s: UI

      Description

      There's no default value for maxItems.

      When there's no noResultsCountLimit (i.e. equals 0) then a listing such as table or grid will pre-create array of items of size equals to the resultsCount returned by the page provider.

      When this resultsCount reaches more than 60000 we see that the Web UI becomes unresponsive and then completely crashes in chrome.

      Having no limit is a really bad thing. Setting it to 10000 sounds ok and it is actually the max results window from elasticsearch so it wouldn't change the behavior of searches relying on elasticsearch.

        Attachments

          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