Project

General

Profile

Actions

Bug #10558

closed

Remove and prevent duplicate tokens via DB migration

Added by Dominic Cleal over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A DB migration should be added to remove any duplicates caused by #10535.

It should also add a uniqueness check (index, validator) on the host_id in the tokens table to prevent further occurrences.

Similar to some of the commits in #9597 and #10365.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #10535: Tokens are created for managed hosts after validationClosedOri Rabin05/18/2015Actions
Related to Foreman - Bug #22342: Unable to delete the host from foremanRejected01/19/2018Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #10535: Tokens are created for managed hosts after validation added
Actions #2

Updated by The Foreman Bot over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release deleted (35)
Actions #4

Updated by Dominic Cleal over 9 years ago

  • Assignee set to Ori Rabin
  • Translation missing: en.field_release set to 72
Actions #5

Updated by Ori Rabin over 9 years ago

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

Updated by Dominic Cleal about 9 years ago

  • Translation missing: en.field_release changed from 72 to 63
Actions #7

Updated by Anonymous almost 7 years ago

  • Related to Bug #22342: Unable to delete the host from foreman added
Actions

Also available in: Atom PDF