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

Fix navigation tree to take into account ordered folder

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF03, 10.1
    • Component/s: Web UI
    • Release Notes Summary:
      Navigation tree takes into account ordered folders in Web UI.
    • Release Notes Description:
      Hide

      Navigation tree takes into account order on Orderable Folders.

      Show
      Navigation tree takes into account order on Orderable Folders.
    • Backlog priority:
      950
    • Sprint:
      nxGang Sprint 10.1.6

      Description

      Steps to reproduce:

      1. Create an Ordered folder
      2. Create 3 folders in this ordered folder with the following title
        • first document title= AAA
        • second document title = ZZZ
        • third document title = CCC
      3. Navigate back to the ordered folder and observe that:
      • the content view displayed the documents in the expected order (AAA then ZZZ then CCC)
      • the navigation tree displays the documents sorted by title: AAA then CCC then ZZZ

      This is probably due to the fact that the nuxeo-document-tree element uses the tree_children page provider which sorts by title.

      In the JSF UI, there was a custom logic in DocumentTreeNodeImpl#fetchChildren to handle orderable nodes.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.