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

Web UI: Fix redundant request to fetch document versions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Web UI

      Description

      When navigating to a https://nightly.nuxeo.com/nuxeo/ui/#!/browse/default-domain/workspaces/Nuxeo%20Marketing%20Content/Banners/GDPR.png we can see it requests:

      https://nightly.nuxeo.com/nuxeo/api/v1/search/lang/NXQL/execute?currentPageIndex=0&pageSize=100&sortBy=uid%3Amajor_version%2Cuid%3Aminor_version&sortOrder=desc%2Cdesc&query=SELECT%20*%20FROM%20Document%20WHERE%20ecm%3AversionVersionableId%20%3D%20%22891ef6c0-47b0-4ce6-b3cd-ae5d509c233b%22%20AND%20ecm%3AisVersion%20%3D%201
      

      twice (even 3 times sometimes)

      To be double checked on 9.10.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 45 minutes
                  45m