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

        1. childListing.png
          584 kB
          Frantz Fischer
        2. parentListing.png
          588 kB
          Frantz Fischer
        3. Screenshot 2019-10-21 at 11.01.02.png
          83 kB
          Nelson Silva

          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