Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users
Warnings when upgrading Catalyst
 

Index | Next | Previous | View Flat


publiustemp-catalyst at yahoo

Jun 19, 2009, 8:07 AM


Views: 1821
Permalink
Warnings when upgrading Catalyst

We're upgrading from Catalyst 5.7015 to 5.80005 and now our test suite
is throwing lots of undef warnings from Catalyst.pm line 1561 in the
_stats_start_execute method. Specifically:

if ( my $parent = $c->stack->[-1] ) {
$c->stats->profile( # line 1561
begin => $action,
parent => "$parent" . $c->counter->{"$parent"},
uid => $uid,
);
}

Here are the various values in that

$parent = bless( {
'attributes' => {
'Private' => [
undef
]
},
'class' => 'PIPs::C::Api::V1::Promotion',
'code' => sub { "DUMMY" },
'name' => '_ACTION',
'namespace' => 'api/v1/promotion',
'reverse' => 'api/v1/promotion/_ACTION'
}, 'Catalyst::Action' );
$uid = 'import/response/default1';
$c->counter->{"$parent"} = undef;
$c->counter = {
'api/api_chain' => 1,
'api/auto' => 1,
'api/v1/auto' => 1,
'api/v1/promotion/auto' => 1,
'api/v1/promotion/begin' => 1,
'api/v1/promotion/list' => 1,
'api/v1/v1_chain' => 1,
'import/response/default' => 1
};
"$parent" = 'api/v1/promotion/_ACTION';"

As
you can see, $parent stringifies to a value not present in the
$c->counter hash. Does anyone recognize this warning? Is this a
bug or is there something documented somewhere which will tell me how
to fix this?

Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6


_______________________________________________
List: Catalyst[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Subject User Time
Warnings when upgrading Catalyst publiustemp-catalyst at yahoo Jun 19, 2009, 8:07 AM
    Re: Warnings when upgrading Catalyst publiustemp-catalyst at yahoo Jun 22, 2009, 2:26 AM
        Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jun 22, 2009, 4:29 AM
            Re: Warnings when upgrading Catalyst publiustemp-catalyst at yahoo Jun 23, 2009, 9:03 AM
                Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jun 24, 2009, 3:59 PM
    Re: Warnings when upgrading Catalyst publiustemp-catalyst at yahoo Jun 25, 2009, 2:57 AM
        Re: Warnings when upgrading Catalyst jshirley at gmail Jun 25, 2009, 7:07 AM
        Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jun 30, 2009, 1:51 PM
    Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jun 25, 2009, 7:16 AM
    Re: Warnings when upgrading Catalyst george at depechemode Jun 26, 2009, 1:41 PM
        Re: Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jun 28, 2009, 7:42 AM
            Re: Re: Warnings when upgrading Catalyst george at depechemode Jun 29, 2009, 3:40 AM
                Re: Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jun 29, 2009, 4:01 PM
                    Re: Re: Warnings when upgrading Catalyst george at depechemode Jul 2, 2009, 2:00 AM
                        Re: Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jul 2, 2009, 2:22 AM
                            Re: Re: Warnings when upgrading Catalyst george at depechemode Jul 2, 2009, 4:55 AM
                                Re: Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jul 2, 2009, 2:41 PM
                            Re: Re: Warnings when upgrading Catalyst publiustemp-catalyst at yahoo Jul 2, 2009, 6:03 AM
                                Re: Re: Warnings when upgrading Catalyst bobtfish at bobtfish Jul 2, 2009, 2:45 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.