[PROCRES-4] ResourceTemplateColumnFormatter should use TemplateDefinitionRegistry to determine title of template Created: 15/Jul/16  Updated: 07/Jul/21  Resolved: 07/Jul/21

Status: Closed
Project: Processed Resources App
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Robert Mikoda Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLRES-287 Remove legacy YAML template Closed
supersession
is superseded by PROCRES-6 Resource without template causes NPE ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Story Points: 5

 Description   

Previously – before MGNLRES-287info.magnolia.module.resources.app.ResourceTemplateColumnFormatter would not determine the title of templates correctly.

It should instead use info.magnolia.rendering.template.registry.TemplateDefinitionRegistry as in info.magnolia.pages.app.column.TemplateColumnFormatter and determine the title from the template definition itself (i18nized title of RenderableDefinition, see info.magnolia.rendering.template.RenderableDefinition#getTitle()).


Generated at Mon Feb 12 10:31:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.