[html-formfu] Bug in Model-DBIC (svn)
Moritz Onken
onken at houseofdesign.de
Tue Mar 10 12:21:27 GMT 2009
Hi Carl,
I found a bug in the current svn version of Model-DBIC
Attach this patch and see the fireworks in t/default_values/
many_to_many_select.t
Index: t/lib/DBICTestLib.pm
===================================================================
--- t/lib/DBICTestLib.pm (revision 1360)
+++ t/lib/DBICTestLib.pm (working copy)
@@ -81,6 +81,7 @@
CREATE TABLE user_band (
user INTEGER NOT NULL,
band INTEGER NOT NULL,
+ id INTEGER,
PRIMARY KEY (user, band)
);
The error message is somethink like
DBI Exception: DBD::SQLite::db prepare_cached failed: ambiguous column
name: id(1)
moritz
More information about the HTML-FormFu
mailing list