Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
5.6
-
None
-
-
Empty show more show less
-
Saigon 124, Saigon 125
-
5
Description
When testing Content Delivery Endpoint, I got this errors and the endpoint doesn't work. It may originate from YAML decoration.
Stack trace: stackTrace
Light module to reproduce the issue: light-modules.zip
In a nutshell, I have two YAML files.
light-modules/rest-test/restEndpoints/rest1.yaml
class: info.magnolia.rest.delivery.jcr.v1.JcrDeliveryEndpointDefinition params: pages: workspace: website bypassWorkspaceAcls: true includeSystemProperties: false nodeTypes: 0: mgnl:page
and
light-modules/add-features-1/decorations/rest-test/restEndpoints/rest1.yaml
params:
pages:
nodeTypes:
0: mgnl:page
1: mgnl:component
The decoration file should have effect but it doesn't. Without that decoration file, the endpoint works.
Checklists
Acceptance criteria
Attachments
Issue Links
- is cloned by
-
MAGNOLIA-7194 After decoration, new provider with invalid data (major severity) cause endpoints unregistered and not available.
-
- Closed
-
- relates to
-
MGNLREST-138 Cannot decorate the delivery endpoint
-
- Closed
-