If there are no hwcert flag types defined in the db, do the hwcert flags set/unset action, fails with this error: Software error: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND bug_id = 452916 AND status = '+'' at line 1 [for Statement "SELECT id FROM flags WHERE type_id = AND bug_id = 452916 AND status = '+'"] at Bugzilla/DB.pm line 65 Bugzilla::DB::SendSQL('SELECT id FROM flags WHERE type_id = AND bug_id = 452916 AND...') called at hwcert.pl line 1804 main::ProcessSpecFlag(452916, 2455) called at hwcert.pl line 1995> main::ProcessHwcertQueueFlag(452916, 2455) called at /var/www/html/hwcert/post.cgi line 1011 We should add the error codes to handle that.
Test well and checked in. Opened a new bug #475199 for correcting the group error message to include this maintainer message. Best Regards! Nicho