[MAGNOLIA-7193] Number keys are not supported in definition decoration Created: 10/Nov/17 Updated: 11/Dec/17 Resolved: 08/Dec/17 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.6 |
| Fix Version/s: | 5.6.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Hieu Nguyen Duc | Assignee: | Mikaël Geljić |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | decoration | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 0.5h | ||
| Original Estimate: | 5.5h | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Sprint: | Saigon 124, Saigon 125 | ||||||||||||||||
| Story Points: | 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. class: info.magnolia.rest.delivery.jcr.v1.JcrDeliveryEndpointDefinition params: pages: workspace: website bypassWorkspaceAcls: true includeSystemProperties: false nodeTypes: 0: mgnl:page and
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. |