Project

General

Profile

Bug #5904

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

Added by Dominic Cleal over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 failsDuplicate2014-05-23
Related to Foreman - Bug #5788: before_destroy missing from EnsureNotUsedBy.new in SmartProxy modelClosed2014-05-19

History

#1 Updated by Dominic Cleal over 4 years ago

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

#2 Updated by Dominic Cleal over 4 years ago

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

Also available in: Atom PDF