Actions
Bug #11339
closedparameter unique index migration should account for duplicate data
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Description
20140805114754_add_unique_index_to_parameter.rb adds a unique migration but does not account for non-unique data. A previous bug related to host group cloning (we believe) led to a situation where duplicate data could be added to the db.
Updated by Justin Sherrill about 9 years ago
Error in question:
PGError: ERROR: could not create unique index "index_parameters_on_type_and_reference_id_and_name"
DETAIL: Key (type, reference_id, name)=(GroupParameter, 2, kt_org) is
duplicated.
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2600 added
- Pull request deleted (
)
Updated by Dominic Cleal about 9 years ago
- Related to Bug #6695: Adding two OS parameters with same name doesn't raise any error when values are different added
Updated by Dominic Cleal about 9 years ago
- Translation missing: en.field_release set to 72
Updated by Justin Sherrill about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset fe5010723b86f26018fc7fb4ee054c734173b5a2.
Actions