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)



Return-Path: <mb [...] matthewb.org>
X-Original-To: bug-Class-DBI-AsForm [...] rt.cpan.org
Delivered-To: cpan-bug+class-dbi-asform [...] diesel.bestpractical.com
X-Greylist: delayed 400 seconds by postgrey-1.16 at diesel; Tue, 22 Mar 2005 10:32:14 EST
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id D917A4D8070 for <bug-Class-DBI-AsForm [...] rt.cpan.org>; Tue, 22 Mar 2005 10:32:14 -0500 (EST)
Received: (qmail 17428 invoked by alias); 22 Mar 2005 15:25:33 -0000
X-Spam-Check-BY: la.mx.develooper.com
Received-SPF: neutral (x1.develooper.com: local policy)
Received: from mra04.ex.eclipse.net.uk (HELO mra04.ex.eclipse.net.uk) (212.104.129.139) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 Mar 2005 07:25:31 -0800
Received: from localhost (localhost.localdomain [127.0.0.1]) by mra04.ex.eclipse.net.uk (Postfix) with ESMTP id 79F991349A6 for <bug-Class-DBI-AsForm [...] rt.cpan.org>; Tue, 22 Mar 2005 15:25:25 +0000 (GMT)
Received: from mra04.ex.eclipse.net.uk ([127.0.0.1]) by localhost (mra04.ex.eclipse.net.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31882-01-6 for <bug-Class-DBI-AsForm [...] rt.cpan.org>; Tue, 22 Mar 2005 15:25:23 +0000 (GMT)
Received: from matthew (unknown [82.152.196.198]) by mra04.ex.eclipse.net.uk (Postfix) with ESMTP id 5191A134C41 for <bug-Class-DBI-AsForm [...] rt.cpan.org>; Tue, 22 Mar 2005 15:20:17 +0000 (GMT)
From: Matthew Browning <mb [...] matthewb.org>
Reply-To: mb [...] matthewb.org
Organization: matthewb.org
To: bug-Class-DBI-AsForm [...] rt.cpan.org
Subject: Returning correct field types
Date: Tue, 22 Mar 2005 15:00:15 +0000
User-Agent: KMail/1.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-ID: <200503221500.15891.mb [...] matthewb.org>
X-Virus-Scanned: by Eclipse VIRUSshield at eclipse.net.uk
X-RT-Original-Encoding: us-ascii
Content-Length: 889
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.