Skip Menu |

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

Report information
The Basics
Id: 46692
Status: new
Priority: 0/
Queue: Catalyst-Controller-FormBuilder

People
Owner: Nobody in particular
Requestors: toapole [...] gmail.com
Cc:
AdminCc:

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



Subject: Deprication warning and patch for correct work with Catalyst::Plugin::Unicode
1) Deprication warning: Catalyst::Controller::FormBuilder uses NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details. NEXT used at Catalyst/Controller/FormBuilder.pm line 12 2) When using with Catalyst::Plugin::Unicode and in the case when form isn't validated (no javascript) we need to encode field values: use utf8; foreach my $field ($self->_formbuilder->field) { if ($field->value && utf8::is_utf8(my $value = $field->value)) { utf8::encode($value); $field->force(1); $field->value( $value ); } } or maybe it's better to make Catalyst-Controller-FormBuilder-Unicode?..
From: toapole [...] gmail.com
recently additional warnings appears in Catalyst(>5.8): Attribute (formbuilder) of class MyApp::Controller::Foo has no associated methods (did you mean to provide an "is" argument?) at C:/strawberry/perl/site/lib/Moose/Meta/Attribute.pm line 565 Moose::Meta::Attribute::_check_associated_methods('Class::MOP::Class::__ANON__::SERIAL::4=HASH(0x316cd4c)') called at C:/strawberry/perl/site/lib/Moose/Meta/Class.pm line 253 ...