[Maypole] Doubled column definitions

From: Drew Taylor (taylor.andrew.j at gmail.com)
Date: Thu Dec 30 2004 - 05:21:09 GMT


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 at drewtaylor.com  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT