Actions
action #6808
closedGroup with empty name
Start date:
2015-03-20
Due date:
% Done:
100%
Estimated time:
Description
You can create group with empty name. This group is not accessible through web ui (empty <a>) but accessible by using group id in URL. However when trying to add new medium to this group, openQA throws DBIx error DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: UNIQUE constraint failed: job_templates.product_id, job_templates.machine_id, job_templates.test_suite_id [for Statement "INSERT INTO job_templates ( group_id, machine_id, prio, product_id, t_created, t_updated, test_suite_id) VALUES ( ?, ?, ?, ?, ?, ?, ? )"] at /home/openQA/script/../lib/OpenQA/Controller/Admin/JobGroup.pm line 68
So either disallow empty group names, or support it completely.
Actions