Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Assets CPAN distribution.

Report information
The Basics
Id: 54574
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-Assets

People
Owner: Nobody in particular
Requestors: stephen [...] enterity.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.035
Fixed in: (no value)



Subject: plugin relies on deprecated NEXT method, generates warnings.
this plugin generates warnings about the deprecated NEXT method. Simple to patch: --- /Library/Perl/5.8.8/Catalyst/Plugin/Assets.pm 2008-07-26 12:24:44.000000000 -0700 +++ lib/Catalyst/Plugin/Assets.pm 2010-02-12 13:41:57.000000000 -0800 @@ -142,7 +142,7 @@ sub setup { my $catalyst = shift; - $catalyst->NEXT::setup(@_); + $catalyst->maybe::next::method(@_); my $config; if ($config = $catalyst->config->{'Plugin::Assets'}) { @@ -165,7 +165,7 @@ sub prepare { my $self = shift; - my $catalyst = $self->NEXT::prepare(@_); + my $catalyst = $self->maybe::next::method(@_); $catalyst->assets; # Instantiate some new assets to use for this request
On Fri Feb 12 16:46:55 2010, HOWARS wrote: Show quoted text
> this plugin generates warnings about the deprecated NEXT method. > Simple to patch: >
I put up 0.036 which incorporates your patch, thanks for the submission Rob