Date: Tue, 6 Jul 2004 02:31:06 +1200 (NZST) From: Andrew McNaughton <andrew@scoop.co.nz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68696: p5-Class-DBI version update needed 0.95 -> 0.96 Message-ID: <200407051431.i65EV6dT083115@a2.scoop.co.nz> Resent-Message-ID: <200407051440.i65EeOZj091398@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68696 >Category: ports >Synopsis: p5-Class-DBI version update needed 0.95 -> 0.96 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 05 14:40:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrew McNaughton <andrew@scoop.co.nz> >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD a2.scoop.co.nz 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jul 2 05:42:59 NZST 2004 andrew@a2.scoop.co.nz:/usr/obj/usr/src/sys/wal-20040406-01 i386 >Description: Some sort of version incompatibility exists between Class::DBI, Class::DBI::FromCGI and CGI::Untaint::url. When trying to enter form data with a field of type url, CGI::Untaint::url returns an object of type URI::URL. Somewhere along the chain en-route to the database this needs to be cast as a string. Updating Class::DBI from version 0.95 (currently in ports) to 0.96 seems to fix the problem just fine. I haven't dug into the code to locate the relevant change. I'm not sure if it's relevant, but I'm using mysql and Class::DBI::mysql I'm not sure if it's relevant, but I'm using mysql-4.1.2 and Class::DBI::mysql from ports. Note that CGI::Untaint::url is not yet in ports. I'll fix that shortly. It's readily available from CPAN. I haven't verified this, but i suspect that CGI::Untaint::date might cause similar problems, as it returns an object also. I'm not sure if it's relevant, but I'm using mysql and Class::DBI::mysql >How-To-Repeat: It's a bit tangled in other code. If you really want this, contact me and I'll put something together. >Fix: change PORTVERSION in /usr/ports/databases/p5-Class-DBI/Makefile from 0.95 to 0.96 make makesum make deinstall reinstall >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407051431.i65EV6dT083115>