Skip Menu |

This queue is for tickets about the Class-DBI-AsForm CPAN distribution.

Report information
The Basics
Id: 6713
Status: resolved
Priority: 0/
Queue: Class-DBI-AsForm

People
Owner: Nobody in particular
Requestors: ben [...] greenriver.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.2
Fixed in: 2.3



Subject: textareas not receiving content
I have noticed that textareas are not getting content when called from to_field. The attached patch fixes the problem for me.
*** AsForm.pm 2004-06-22 10:52:29.000000000 -0400 --- AsForm.pm 2004-06-22 10:53:11.000000000 -0400 *************** *** 92,98 **** # Right, have some of this! eval "package $class; Class::DBI::Plugin::Type->import()"; my $type = $class->column_type($field); ! return $class->_to_textarea($field) if $type and $type =~ /^(TEXT|BLOB)$/i; return $self->_to_textfield($field); } --- 92,98 ---- # Right, have some of this! eval "package $class; Class::DBI::Plugin::Type->import()"; my $type = $class->column_type($field); ! return $self->_to_textarea($field) if $type and $type =~ /^(TEXT|BLOB)$/i; return $self->_to_textfield($field); }
Subject: Fixed
From: ben [...] greenriver.org
This is fixed in Version: 2.3.