Uploaded image for project: 'Apps Development Framework'
  1. Apps Development Framework
  2. ADF-4031

Two REST-API call in document-list for load folder

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Document List
    • Labels:
      None
    • Environment:
      Environment, browser

      Description

      In the document list we do two call to load a folder:

      1.Get the children

      2.Get the current folder information

       

      The second call could be avoided id the enhancement present in the https://issues.alfresco.com/jira/browse/REPO-1977 will be implemented.

       

      *GET /nodes/{nodeId}/children*
      http://localhost:3000/alfresco/api/-default-/public/alfresco/versions/1/nodes/15a62114-17a5-46c7-b8bd-07a14f2e4ab1/children?maxItems=5&include=path%2Cproperties%2CallowableOperations%2Cpermissions%2CaspectNames&includeSource=true

      If we use now the includeSource option in the children call it will not return the path for the current node also if it is present in the include information requested.

      Without the path, the breadcrumbs stop to work correctly.

       

        TestRail: Results

          Attachments

            Issue Links

              Structure

                Activity

                  People

                  • Assignee:
                    Unassigned
                    Reporter:
                    eromano Eugenio Romano
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:

                      TestRail: Cases

                        Structure Helper Panel