|
今天给别人演示bugzilla的使用,结果特别没面子,add一个新的product的时候,出错了:
DBD::mysql::st execute failed: Field 'userregexp' doesn't have a default value [for Statement "INSERT INTO groups (name, description, isbuggroup, last_changed) VALUES ('test', 'Access to bugs in the test product', 1, NOW())"] at Bugzilla/DB.pm line 84
Bugzilla::DB::SendSQL('INSERT INTO groups (name, description, isbuggroup, last_chang...') called at d:\Bugzilla\editproducts.cgi line 559
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
[Fri Apr 14 15:14:52 2006] editproducts.cgi: DBD::mysql::st execute failed: Field 'userregexp' doesn't have a default value [for Statement "INSERT INTO groups (name, description, isbuggroup, last_changed) VALUES ('test', 'Access to bugs in the test product', 1, NOW())"] at Bugzilla/DB.pm line 84 [Fri Apr 14 15:14:52 2006] editproducts.cgi: Bugzilla::DB::SendSQL('INSERT INTO groups (name, description, isbuggroup, last_chang...') called at d:\Bugzilla\editproducts.cgi line 559
但是其它的功能都没有问题,可以修改product,可以提交/修改bug,用户管理、权限管理等等都可以正常操作。
看上面的错误,是对groups表添加的时候出错,可是我明明是添加一个product,他怎么还去操作groups表呢???? |
|