[html-formfu] Bug in Model-DBIC (svn)

Moritz Onken onken at houseofdesign.de
Wed Apr 15 09:18:11 GMT 2009


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



More information about the HTML-FormFu mailing list