Bug #5904

Deleting a smart proxy should be easier due to number of associations

Added by Dominic Cleal over 3 years ago.

Status:New
Priority:Normal
Assigned To:-
Category:Database
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

Deleting a smart proxy isn't a user-friendly process at the moment, especially for a Puppet proxy as it may be associated directly to many hosts and host groups.

Both a before_destroy hook and foreign keys prevent it being deleted right now, but we should consider either nullifying associations automatically and/or warning the user and allowing them to break the associations.


Related issues

Related to Smart Proxy - Bug #5903: Deleting smart proxy from GUI fails Duplicate 05/23/2014
Related to Foreman - Bug #5788: before_destroy missing from EnsureNotUsedBy.new in SmartP... Closed 05/19/2014

History

#1 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #5903: Deleting smart proxy from GUI fails added

#2 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #5788: before_destroy missing from EnsureNotUsedBy.new in SmartProxy model added

Also available in: Atom PDF