Project

General

Profile

Actions

action #6808

closed

Group with empty name

Added by oholecek about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
-
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 #1

Updated by coolo about 9 years ago

yes, disallowing empty groups sounds good

Actions #2

Updated by lnussel about 9 years ago

  • Assignee set to mlin7442
Actions #3

Updated by mlin7442 almost 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100
Actions #4

Updated by mlin7442 almost 9 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF