Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28240

Parent directories listing limited to 50 entries

    XMLWordPrintable

    Details

    • Release Notes Summary:
      All parent values are fetched when listing hierarchical vocabularies.
    • Backlog priority:
      600
    • Team:
      GANG
    • Sprint:
      nxGang Sprint 11.1.19
    • Story Points:
      1

      Description

      Vocabularies administration in Web UI handles without any issue more than 50 vocabularies.
      But when choosing a parent, the listing is limited to 50.
      This can be seen in Google Inspector.
      For instance, the country directory content is listed with:

      http://localhost:8080/nuxeo/api/v1/directory/country?pageSize=0

      (see childListing.png)
      whereas the continent directory (its parent) is listed with:

      http://localhost:8080/nuxeo/api/v1/directory/continent
      

      Double-checking the result shows "pageSize":50 in the response. This means with directories bigger that 50 entries, some entries will be missing in the UI.

      Expected result: the parent entries query should include pageSize=0 to allow full entries set retrieval.
      Workaround: none since the vocabulary form (nuxeo-xvocabulary-edit-layout) is dynamically called through nuxeo-layout and thus tempering with the nuxeo-resource to pass the page size is not possible.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 30 minutes
                30m