Bug #9577
closedAll Hosts - Bulk Action - Delete throws error Dependent Content Host
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1192730
Description of problem: When selecting a single or multiple hosts on the All Hosts page and selecting the Bulk Action/Select Action - Delete Hosts item, WebUI throws error "Cannot delete record because of dependent content_host"
Version-Release number of selected component (if applicable):
6.0.7
How reproducible:
Always
Steps to Reproduce:
1. Navigate to Hosts -> All Hosts
2. Select one or more hosts using the checkbox
3. Select Delete Hosts from the Select Action button pull-down
4. Confirm request in resulting dialog
Actual results:
Cannot delete record because of dependent content_host
Expected results:
Selected hosts should be deleted.
Additional info:
When selecting Delete from the "Table Button" marked Edit by default, delete works as expected.