At 16:09 02/20/01, Sean Legassick wrote:
>On Fri, Feb 16, 2001 at 05:57:24PM +0100, ingo schuster wrote:
> > There are two bugs in TurbineTemplateService:
> > 1. The default layout template is not extended by the default extension.
>
>That should happen, but your patch assumes that template names given
>without the default extension will be of the form 'default.' rather than
>'default', whereas the equivalent code for screen/nav templates assumes
>they will be given without the trailing '.'. I think if you give a name
>with a trailing '.' you are saying "don't use an extension" so your
>patch should be changed.

Ok, I assumed that "default." is to indicate that it should be extended by 
the default extension. The comment in TR.p is suggesing it somehow:

# Default: /default.{default.extension}

I'll send you another path that checks if the filename contains a ".", if 
not, it's extended by the default extension.

ingo.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to