Project

General

Profile

Bug #16137

migrate_content_hosts fails with unique constraint violation

Added by Ori Rabin almost 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

katello_system_activation_keys didn't have a unique validation but katello_subscription_facet_activation_keys does.
As a result, migrating from one to the other when there are duplicate records causes a unique constraint violation.

Associated revisions

Revision 7c6a0017 (diff)
Added by Ori Rabin almost 3 years ago

Fixes #16137 - subscription_facet.activation_keys should be uniq (#6248)

History

#1 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6248 added

#2 Updated by Ori Rabin almost 3 years ago

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

#3 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 171

#4 Updated by Ivan Necas over 2 years ago

  • Target version set to 1.6.1

#5 Updated by Eric Helms over 2 years ago

  • Legacy Backlogs Release (now unused) changed from 171 to 162

Also available in: Atom PDF