[jifty-devel] Mysterious Dispatcher / Jifty::View::Declare vanishing templates

Thomas Sibley trs at bestpractical.com
Fri Jun 11 14:32:06 EDT 2010

Hi Peter,

I'd suggest upgrading to a version of Jifty checked out from Git.  We 
don't make releases as often as we'd like, and it's been a while since 
November 2009.  You'll also want to upgrade Template::Declare.

Otherwise, set LogLevel to DEBUG and install and enable the 
DumpDispatcher plugin in your app's etc/config.yml.  That'll spew more 
information about the dispatcher when you run "jifty server".

We use TD very successfully for quite a few apps here, so it's unlikely 
to be a fundamental issue with TD.


On 06/11/2010 01:31 PM, Peter Mottram wrote:
> I have an amazing problem with my current app where parts of my app's
> view seem to mysteriously disappear. When checking the app all of a
> sudden some parts of the view stop being dispatched (dispatcher ends up
> calling /errors/404 without noticing the relevant 'on' rule). On
> restarting jifty the missing parts reappear but then other parts of the
> view vanish. The whole thing appears to be completely random and I am
> running out of ideas as to how to debug further.
> Could anyone point me to a relevant Jifty->foo piece of magic that I
> could examine during dispatching to see what the dispatcher thinks
> exists within my view? Any other ideas about bits of Jifty internals I
> should be hacking around in to solve this?
> I'm using Jifty::Plugin::ViewDeclarePage quite heavily - couldn't face
> dropping that but with current issues am seriously considering dropping
> back to Mason completely :-(
> btw I'm on Jifty version 0.91117 from CPAN.
> PeteM
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

More information about the jifty-devel mailing list