[PAGES-449] TemplateDefinitionEndpoint should return i18nText properties Created: 10/Jun/21  Updated: 26/Aug/22

Status: Open
Project: Magnolia pages module
Component/s: SPA Renderer
Affects Version/s: 6.2.8
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
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)
Date of First Response:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

When using the TemplateDefinitionEndpoint only properties found within the template definition are returned. Properties such as title and description which are i18nized into properties files are not returned.

Reproduce

  1. Call https://demo.magnolia-cms.com/.rest/templateDefinition/v1/travel-demo:pages/aboutDemo
  2. Observe the returned JSON did not find the template's title found in module-travel-demo-backend_en.properties.
  3. Hotfix the template travel-demo:pages/aboutDemo to add a description property.
  4. Request the template again and observe the description being returned.

Expected
The endpoint should be able to locate i18nized properties of the template definition.

Actual
Only properties located in the template definition itself are returned.


Generated at Mon Feb 12 06:19:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.