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

Displaying a livetable list filter for a non-static list field is not scalable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.4
    • Fix Version/s: 10.1-rc-1
    • Component/s: LiveTable
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      A good example of this is the Ideas Application, which define the assignement field like this:

      'assignement': {"type":"list","size":20,"link":"field", "html":true},
      

      this field is of type List Of Users, and a a wiki with thousand of users, it cause the request to run for so long that it timeout. This made the Ideas Application unusable on a wiki with lot of users.

      The same is obviously true for any list field type that could return a very large list of potential values.

      We have a couple of options:
      1) timeout the preparation of the list somehow, returning an erreur, but ensuring it does not runs for hours.
      2) switching to a text filter when there is too many items for a list filter
      3) disallowing list filter on list field type that is not static

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                softec Denis Gervalle
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: