Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-21958

App:filelink nodes do not get returned on some API calls


    • Type: Service Pack Request
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.N
    • Component/s: ACS REST API
    • Labels:
    • Bug Priority:
      Category 3
    • ACT Numbers:




      There seems to be an issue when performing GET calls on app:filelink nodes resulting in the below:

      Steps to Reproduce

      1. Create an app:link node inside of a folder with 3 total nodes (2 nodes non-app:link - in the example I used images) - I used our doc example here to run the POST call to create the node:


      2. Perform REST API GET calls on the folder for the below examples:

      a. isFile=true

      b. isFolder=false

      c. nodeType=app:filelink OR nodeType=cm:content

      d. nodeType=cm:content OR nodeType=app:filelink 

      Actual Behaviour
      Calls result in unexpected behavior/results:

      1. isFile=true - returns all nodes in the folder except the app:filelink node which should be the case as app:fileLink nodes have isFile=true
      2. isFolder=false - returns the app:filelink node successfully
      3. nodeType=app:filelink OR nodeType=cm:content - returns only the node associated with app:filelink
      4. nodeType=cm:content OR nodeType=app:filelink - returns 2 nodes and seemingly ignores the OR statement at the end and does not return the app:filelink node.

      Expected Behaviour

      • The isFile=true should be able to return the app:filelink node as it has it appended to it.
      • The two GET calls above containing OR should return all nodes based upon the criteria and not simply ignore the second requirement.

      At this time - the customer has found the workaround with using 'isFolder=false'

      Business Reasoning:

      The customer explains that the workaround is fine for the time being but "thats not ideal if we wanted to limit the nodeTypes returned. "





              • Assignee:
                djarrett Donnie Jarrett [X] (Inactive)
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created:

                  Structure Helper Panel