Skip Menu |

This queue is for tickets about the Catalyst-Controller-AllowDisable CPAN distribution.

Report information
The Basics
Id: 45531
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Catalyst-Controller-AllowDisable

People
Owner: Nobody in particular
Requestors: bobtfish [...] bobtfish.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Broken by Catalyst::Runtime 5.80
This breaks, are returning a non-object value from a COMPONENT method doesn't make sense.. sub new { my $class = shift; my ($app) = @_; my $self = $class->next::method(@_); if ( $app->config->{on_controller_disable} ) { return bless {}, 'Catalyst::Controller::AllowDisable::Disabled'; } return $self; } would work better, as a suggestion...
I fixed it and uploaded the fixed module.