Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 37419
Status: rejected
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: MARKLE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: RELATIVE=1 search starts with INCLUDE_PATH rather than .
Is this the correct behavior? In a subdirectory, if RELATIVE=1, if I say "[% PROCESS bar.html %]" shouldn't that process the bar.html that is relative to the file that is requesting it? Instead what happens is it looks in INCLUDE_PATH for bar.html. If bar.html only exists relative to the subdirectory file requesting it, and does not exist on the top path, it fails. I thought PROCESS and INCLUDE always looked for files in the directory of the file requesting them! D'OH. Mark
Subject: lame.tar
Download lame.tar
application/x-tar 10k

Message body not shown because it is not plain text.

On Fri Jul 04 14:19:44 2008, MARKLE wrote: Show quoted text
> Is this the correct behavior?
Yes, it is I'm afraid. It's "correct" in as much as it's doing what it was designed to do. Unfortunately it was designed wrong. I'm correcting that in TT3. Cheers A