Skip to content

NodesApi.getNode() is not getting expected results for "include" param #97

@aborroy

Description

@aborroy

When using following code to get additional details for a node...

String nodeId = "8bb36efb-c26d-4d2b-9199-ab6922f53c28";
List<String> include = List.of("permissions", "path");

Node node = nodesApi.getNode(nodeId, include, null, null).getBody().getEntry();

... returned Object only contains "permissions" information, while "path" is ignored.

The same request using directly REST API works as expected.

It has been observed some differences in the request URL:

  • URL generated with the SDK: GET /alfresco/api/-default-/public/alfresco/versions/1/nodes/8bb36efb-c26d-4d2b-9199-ab6922f53c28?include=permissions&include=path
  • URL generated with the Swagger Client (api-explorer): GET /alfresco/api/-default-/public/alfresco/versions/1/nodes/8bb36efb-c26d-4d2b-9199-ab6922f53c28?include=permissions,path

Both "permissions" and "path" details are expected to be recovered when using SDK and Swagger Client.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions