Hi Marcel, On Thu, 2007-08-30 at 10:24 +0200, Marcel Loose wrote: > In our glue.conf file, I have set the product_name_definition type to 'manual' > and have set the value to 'LOFAR'. In the Bugzilla database, there are many > products, each being a part of this "global" LOFAR product. There is, however, > no product 'LOFAR' defined in the Bugzilla database. > > When you create a tag or branch, Scmbug queries the database for the > product-id of LOFAR (since that's the product name in the glue.conf file). The > SQL select query returns zero rows, because there is not product LOFAR in the > Bugzilla database. The return value is not checked though! The empty > product_id variable is passed to an SQL insert query which expects two values > (the latter being the product_id), but receives only one. Bingo! See sub > integration_add_tag in /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm
This is certainly a bug. Yes, it needs to be fixed, and also to add the capability to completely disable the tagging integration since in your environment it would always fail. This is much clearer now. Thanks! A final question, what is your Bugzilla version ?
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
