[PAGES-785] SPA endpoints are not returning parameters defined in the template Created: 16/Aug/22 Updated: 02/Sep/22 Resolved: 02/Sep/22 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mercedes Iruela | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| 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
|
|||||||||||||||||||||||||
| Date of First Response: | ||||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||
| Description |
|
templating-definitions and templating-annotations endpoints are ignoring parameters added in the template definition. Sample with templating-definitions endpoint: The serialisation fails for simple values as well. lightmodule/components/template.yaml title: My Template dialog: lightmodule:components/template parameters: foo: bar /.rest/template-definitions/v1/lightmodule:components/template
{"lightmodule:components/template": {
"dialog": "lightmodule:components/template",
"name": "template",
"id": "lightmodule:components/template",
"type": "content",
"title": "My Template",
"parameters": {"foo": {
"blank": false,
"empty": false
}}
}}
|