Project

General

Profile

Bug #10826

Operatingsystem does not enforce 'title' uniquness at database

Added by Justin Sherrill about 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Database
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Operating system currently does not enforce a unique title at the database level. The result of this is that race conditions can occur which cause the creation of duplicate operating systems with titles that are not unique. To make matters worse you cannot update these operating systems without deleting all but one of the duplicates (which is confusing for the user).

I'm unsure how to handle existing Operating Systems that may have duplicates

Associated revisions

Revision 602f52a4 (diff)
Added by Ondřej Pražák about 4 years ago

Fixes #10826 - Adds unique constraint to the title in operatingsystem table

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2543 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal about 4 years ago

  • Assignee set to Ondřej Pražák
  • Legacy Backlogs Release (now unused) set to 63

#3 Updated by Ondřej Pražák about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF