Am 10.03.2009 um 13:21 schrieb Moritz Onken:

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)

Ping again

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to