Skip Menu |

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

Report information
The Basics
Id: 58363
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-FormValidator-Simple

People
Owner: devin.austin [...] gmail.com
Requestors: chakkit [...] ibiz.co.th
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.14
Fixed in: (no value)



Subject: typo at line 36
Based on version 0.13 due to changing from NEXT to MRO::Compat it caused error at line 36 as the following captured from Catalyst 5.80024: [error] Caught exception in engine "Can't use string ("APP-NAME") as a HASH ref while "strict refs" in use at C:/strawberry/perl/site/lib/Catalyst/Plugin/FormValidator/Simple.pm line 36." After take a look at the code, I noticed it was kind of typo. The code was changed from "$c = $c->NEXT::prepare(@_)" to "$c->maybe::next::method(@_)". To fix this issue, at line 36 just change $c->maybe::next::method(@_) to $c = $c->maybe::next::method(@_) That's it!
On Sun Jun 13 15:56:04 2010, Chakkit wrote: Show quoted text
> Based on version 0.13 due to changing from NEXT to MRO::Compat it caused > error at line 36 as the following captured from Catalyst 5.80024: > > [error] Caught exception in engine "Can't use string ("APP-NAME") as a > HASH ref while "strict refs" in use at > C:/strawberry/perl/site/lib/Catalyst/Plugin/FormValidator/Simple.pm line > 36." > > After take a look at the code, I noticed it was kind of typo. > The code was changed from "$c = $c->NEXT::prepare(@_)" to > "$c->maybe::next::method(@_)". > > To fix this issue, at line 36 just change $c->maybe::next::method(@_) to > $c = $c->maybe::next::method(@_) > That's it! >
Thanks! I'll get on fixing this.
This has been fixed, closing. On Sun Jun 13 15:56:04 2010, Chakkit wrote: Show quoted text
> Based on version 0.13 due to changing from NEXT to MRO::Compat it caused > error at line 36 as the following captured from Catalyst 5.80024: > > [error] Caught exception in engine "Can't use string ("APP-NAME") as a > HASH ref while "strict refs" in use at > C:/strawberry/perl/site/lib/Catalyst/Plugin/FormValidator/Simple.pm line > 36." > > After take a look at the code, I noticed it was kind of typo. > The code was changed from "$c = $c->NEXT::prepare(@_)" to > "$c->maybe::next::method(@_)". > > To fix this issue, at line 36 just change $c->maybe::next::method(@_) to > $c = $c->maybe::next::method(@_) > That's it! >