Doubled column definitions

[prev] [thread] [next] [Date index for 2004/12/30]

From: Drew Taylor
Subject: Doubled column definitions
Date: 05:21 on 30 Dec 2004
I'm doing my first Maypole test project, and am having a problem on
the Edit form. The form has 2 entries for each column in the table,
which is an obvious problem. A bit of digging reveals that the CDBI
object has 2 entries for each column as evidenced by calling
$obj->columns.

So after some more digging the problem shows itself in
Class::DBI::mysql::set_up_table(). I have mixed case column names (Id,
Created, etc). The call to $class->columns(All=>@cols) goes fine. But
somewhere in the bowels of ColumnGrouper I end up with the doubled
column names.

In this case I can use lower case column names, but this is definitely a bug.

Mac OS X 10.3.7
Perl 5.8.1 (stock)
Maypole 2.06
Class::DBI 0.96
Class::DBI::mysql 0.23
        -- 
        ----------------------------------------------------------------
 Drew Taylor                 *  Web development & consulting
 Email: drew@xxxxxxxxxx.xxx  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------

(message missing)

Doubled column definitions
Drew Taylor 05:21 on 30 Dec 2004

Re: Doubled column definitions
Tony Bowden 09:55 on 30 Dec 2004

Re: Doubled column definitions
Drew Taylor 13:45 on 30 Dec 2004

Re: Doubled column definitions
Tony Bowden 18:24 on 30 Dec 2004

Re: Doubled column definitions
Drew Taylor 19:00 on 30 Dec 2004

Re: Doubled column definitions
Drew Taylor 19:59 on 30 Dec 2004

Re: Doubled column definitions
Tony Bowden 22:18 on 30 Dec 2004

Re: Doubled column definitions
Drew Taylor 01:29 on 31 Dec 2004

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52