« Return to Thread: Warnings when upgrading Catalyst
I had to randomly trawl through the cat-guts. Paring down our rather large application is not easy and I wasn't aware of a git repository for git bisect.
I *did* wind up downloading various CPAN releases and got it down to this:
5.7* distributions do not issue the warning.5.8005_05 to 5.80002 were failing with:(Could not load class (PIPs) because : Can't call method "reverse" on an undefinedvalue at /home/ovid/pips_dev/work/Pips3/branches/rights_modeling/Catalyst-Runtime-5.80001/ \lib/Catalyst/DispatchType/Chained.pm line 115.)
Earlier 5.8* series were failing with various errors.
In short, it's been tough for me to nail down when the failure occurs because different versions of Catalyst have different dependencies and it's tough to grab all at once and set up a good environment.In the meantime, the warning thrown by Catalyst->_stats_start_execute() still remains. You mentioned a guess that it was trying to collect stats on private attributes and the check for that is the first line:return if ( ( $code->name =~ /^_.*/ )&& ( !$c->config->{show_internal_actions} ) );
The $code->name when we get the warning is 'default', so I'm assuming it's not considered a private action. When we get to the actual section of code which issues the warning (line 1561 in the cpan distribution)
« Return to Thread: Warnings when upgrading Catalyst
| Free embeddable forum powered by Nabble | Forum Help |