On Mon, Jun 14, 2010 at 02:55:24PM +0200, Peter Mottram wrote:
> Jifty, Jifty::DBI and TD now all as of git on 11/6 and still have my
> weird errors. DumpDispatcher shows the dispatch table correctly when
> called from a before rule but the rule that should be triggered
> (which logs as its first action) is not called. Here is some debug
> output:
>
> 2010/06/14 14:45:47 DEBUG> Dispatcher.pm:873 Jifty::Dispatcher::_do_dispatch
> - Dispatching request to /course/Emergency_First_Response
> 2010/06/14 14:45:47 DEBUG> Dispatcher.pm:648 Jifty::Dispatcher::_do_before -
> Matched 'before' rule (?-xism:(?<=\A/)([^/]*)(?=/|\z)) for
> /course/Emergency_First_Response
> 2010/06/14 14:45:47 DEBUG> Dispatcher.pm:648 Jifty::Dispatcher::_do_before -
> Matched 'before' rule (?-xism:(?<=\A/)([^/]*)(?=/|\z)) for
> /course/Emergency_First_Response
> 2010/06/14 14:45:47 DEBUG> DumpDispatcher.pm:38
> Jifty::Plugin::DumpDispatcher::dump_rules - Dispatcher rules in stage SETUP:
> <snip/>
> 2010/06/14 14:45:47 DEBUG> DumpDispatcher.pm:39
> Jifty::Plugin::DumpDispatcher::dump_rules - under 'course' on 'tec'
> run {...} on 'flowchart' run {...} on '*' run {...}
> <snip/>
> 2010/06/14 14:45:47 DEBUG> DumpDispatcher.pm:38
> Jifty::Plugin::DumpDispatcher::dump_rules - Dispatcher rules in stage CLEANUP:
> 2010/06/14 14:45:47 DEBUG> Web.pm:981 Jifty::Web::render_template - Showing
> path /errors/404 using Jifty::View::Declare::Handler
>
> All looks fine to me but the required rule is not called since its
> info log output doesn't appear in the log output above. I can get
> different parts of my app to 'disappear' depending on the order that
> I go through the site.
>
> Any hints as to whereabouts in Jifty core I should start inserting
> more debug logging?
Are you up for posting your dispatcher somewhere?
_______________________________________________
jifty-devel mailing list
jifty-devel@lists.jifty.org
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel