Skip Menu |
 

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

Report information
The Basics
Id: 11967
Status: new
Priority: 0/
Queue: Class-DBI-AsForm

People
Owner: Nobody in particular
Requestors: mb [...] matthewb.org
Cc:
AdminCc:

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



From: Matthew Browning <mb [...] matthewb.org>
To: bug-Class-DBI-AsForm [...] rt.cpan.org
Subject: Returning correct field types
Date: Tue, 22 Mar 2005 15:00:15 +0000
Download (untitled) / with headers
text/plain 889b
My apologies for disturbing you; must be very busy. I recently had a problem getting Maypole working; a problem I tracked down to Class::DBI::AsForm and described somewhat incoherently here: http://perlmonks.org/?node_id=437030 Now, looking at it again, I see that the reason column_type() was not returning as expected was a simple issue of capitalisation, which I fixed on my local copy quite easily. There's no point in doing a diff for one line (I don't think) but $VERSION 2.41, I changed line 98 to look like this: my $type = $class->column_type($field->accessor); Now, I don't have the facilities to test this on every DB server available and I don't know if this breaks some other behaviour somewhere but my tests are passing and I thought I should share my findings. Matthew Browning. -- Tel: 01626 776 398 | 07835 069 773 http://matthewb.org/public_key.txt


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.