Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-449

TemplateDefinitionEndpoint should return i18nText properties

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 6.2.8
    • SPA Renderer
    • None

      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.

        Acceptance criteria

              Unassigned Unassigned
              rgange Richard Gange
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: