[Catalyst] Catalyst::View::TT - strange caching annoyance [SOLVED]

Einon einon at animehq.hu
Thu Sep 14 10:26:33 CEST 2006


Hi!

This solved my problem too.
Thanks for the fast solution :)

Bye!
	Einon

Brian Kirkbride wrote:
> Einon wrote:
>> Hi!
>>
>> I found an interesting bug in Catalyst::View::TT. Catalyst caches wrong 
>> templates even if I do not use caching.
>>
>> I created a fresh application with catalyst.pl, added some templates,
>> modified the MyApp.pm according to my needs, and finally I added a TT view.
>>
>> After fireing up the application with './script/myapp_server.pl -d' I 
>> checked if it works. It did. Then I modified the Display.hu.tt template 
>> to get a syntax error (I did this with removing the [% END %] block of 
>> the IF conditon.
>>
>> When I called the default handler again, of course I got error:
>> ---
>> [error] Coldn't render template "file error - parse error - 
>> Display.hu.tt line 9: unexpected end of input"
>> ---
>> After this I put back the [% END %] block and reloaded the page,
>> catalyst sent me an another message:
>> ---
>> [error] Coldn't render template "file error - setup: not found"
>> --
>> After restarting the cat app, the same template works again.
>>
>> Sorry for this kind of bugreport... :)
>>
>>
>>
>> Bye!
>> 	Einon
>>
>>
> 
> I have had this problem too, please see the solution here:
> 
> http://www.mail-archive.com/catalyst@lists.rawmode.org/msg00823.html
> 
> - Brian
> 
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/



More information about the Catalyst mailing list