-
Bug
-
Resolution: Fixed
-
Major
-
2.0.2
-
None
-
-
Empty show more show less
-
Yes
-
Saigon 141, Saigon 142, Saigon 143, Saigon 144
-
8
Given this configuration
class: info.magnolia.rest.delivery.jcr.v2.JcrDeliveryEndpointDefinition workspace: website bypassWorkspaceAcls: true
Making this request returns an empty result which is wrong.
curl -X GET 'http://<host>/.rest/delivery/test'
The expectation is a list of pages because "mgnl:page" is subtype of "mgnl:content".
The currently generated query is
SELECT t.* FROM [nt:base] AS t WHERE t.[jcr:primaryType] = 'mgnl:content' ...
To solve this issue, we may consider selecting from configured node types and using JOINs.
SELECT t.* FROM [mgnl:content] INNER JOIN [otherNodeType] ...
Acceptance criteria
- mentioned in
-
Page Loading...