-
Bug
-
Resolution: Fixed
-
Major
-
2.0.2
-
None
-
None
-
-
Empty show more show less
-
Saigon 139
-
3
With this v1 configuration, the endpoint response includes additional unwanted results when using the 2.1-SNAPSHOT of the content delivery module.
Params:
ideas: workspace: ideas depth: 0 nodeTypes: - mgnl:folder childNodeTypes: - mgnl:composition includeSystemProperties: true bypassWorkspaceAcls: true limit: 100
(Above example is a content-editor based app, like the stories app.)
With this query:
http://localhost:8080/magnoliaAuthor/.rest/delivery/ideas/v1?orderBy=jcr:created%20asc
Gives these unwanted additional results:
{ "results": [ { "@name": "", "@path": "/", "@id": "cafebabe-cafe-babe-cafe-babecafebabe", "@nodeType": "rep:root", "@nodes": [] }, { "@name": "entry", "@path": "/rep:accesscontrol/everyone/rep:policy/entry", "@id": "3e092b18-2bbb-4146-ae5b-546bd5cab397", "@nodeType": "rep:GrantACE", "rep:privileges": [ "jcr:read" ], "rep:nodePath": "", "rep:principalName": "everyone", "@nodes": [] }, { "@name": "everyone", "@path": "/rep:accesscontrol/everyone", "@id": "b43e10d7-cfb3-437c-a28d-0930dcd38ac9", "@nodeType": "rep:PrincipalAccessControl", "@nodes": [] }, { "@name": "rep:accesscontrol", "@path": "/rep:accesscontrol", "@id": "1ccce36d-7a63-4212-b673-caf6892fa8cd", "@nodeType": "rep:AccessControl", "@nodes": [] }, { "@name": "rep:policy", "@path": "/rep:accesscontrol/everyone/rep:policy", "@id": "60ef74ab-7fd2-4ebc-981a-87b30ef9c000", "@nodeType": "rep:ACL", "@nodes": [] }, {
Followed by the expected results.
I also have the problem that I expect just the "mgnl:composition" nodes, but I ALSO get the "mgnl:block" nodes under them which I do not want.
Acceptance criteria
- mentioned in
-
Page Loading...