[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Lipp updated MAGNOLIA-4412:
----------------------------------

    Description: 
In older versions we supported so called sub templates (selected based on file 
name extension). In 4.5 we have introduced the more powerful template 
variations but our default implementation does only consider the channel.

But it should use the following lookup for template variation names

# channel-extension
# extension
# channel

Then instead of the two subclasses we should ship one which combines them: 
[RenderableVariationResolver|http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.2/apidocs/info/magnolia/rendering/template/variation/RenderableVariationResolver.html].

  was:
In older versions we supported so called sub templates (selected based on file 
name extension). In 4.5 we have introduced the more powerful template 
variations but our default implementation does only consider the channel.

But it should use the following lookup for template variation names

# channel-extension
# extension
# channel

The instead of the two subclasses we should ship one which combines them: 
[RenderableVariationResolver|http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.2/apidocs/info/magnolia/rendering/template/variation/RenderableVariationResolver.html].


> default template variation resolver should consider the extension 
> ------------------------------------------------------------------
>
>                 Key: MAGNOLIA-4412
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4412
>             Project: Magnolia
>          Issue Type: Bug
>      Security Level: Public
>    Affects Versions: 4.5.2
>            Reporter: Philipp Bärfuss
>            Assignee: Milan Divilek
>            Priority: Critical
>             Fix For: 4.5.3
>
>
> In older versions we supported so called sub templates (selected based on 
> file name extension). In 4.5 we have introduced the more powerful template 
> variations but our default implementation does only consider the channel.
> But it should use the following lookup for template variation names
> # channel-extension
> # extension
> # channel
> Then instead of the two subclasses we should ship one which combines them: 
> [RenderableVariationResolver|http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.2/apidocs/info/magnolia/rendering/template/variation/RenderableVariationResolver.html].

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to