Doubled column definitions
[prev]
[thread]
[next]
[Date index for 2004/12/30]
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
|