Subject: | Possible Bug in 0.092 |
Date: | Tue, 23 Feb 2010 20:17:31 +0000 |
To: | bug-Catalyst-Plugin-FormValidator [...] rt.cpan.org |
From: | Ryan Lauterbach <ryan [...] radianit.com> |
Hi,
The dispatching in my apps seemed to break (not happen) with the latest
release of C::P::DFV-0.092. The below seems to have fixed
---
Catalyst-Plugin-FormValidator-0.092/lib/Catalyst/Plugin/FormValidator.pm
2010-02-22 00:00:08.000000000 +0000
+++
Catalyst-Plugin-FormValidator-0.092.new/lib/Catalyst/Plugin/FormValidator.pm
2010-02-23 20:07:49.389911622 +0000
@@ -8,7 +8,7 @@
sub prepare {
my $c = shift;
- $c = $c->maybe::next::method();
+ $c = $c->maybe::next::method(@_);
$c->{form} = Data::FormValidator->check( $c->request->parameters,
{} );
return $c;
}
Show quoted text
------------------ Details --------------------------------
(karmic)root@web4:~# perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
(karmic)root@web4:~# uname -a
Linux web4.radianhost.com 2.6.31-19-server #56-Ubuntu SMP Thu Jan 28
03:40:48 UTC 2010 x86_64 GNU/Linux