Project

General

Profile

Bug #14196

Unregister host from webUI doesn't work, firebug raises error

Added by Justin Sherrill over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1315194
Description of problem:
Unregistering a content-host from webUI doesn't work. I was trying to un-register a host from webUI, I select the content-host and clicked on "Unregister Content host" button. A new pop-up appears but that says:

--
Unregister Content Host ""?

Are you sure you want to unregister content host ""?
--

Please note here, the actual name of the host is missing here. Also a javascript error appears in Firebug. Please see the screenshot.

Version-Release number of selected component (if applicable):
Satellite 6.2 snap2

How reproducible:
always

Steps to Reproduce:
1. select the content-host from webUI and click on "Unregister Content host" button
2.
3.

Actual results:
A new pop-up appears but that says:

--
Unregister Content Host ""?

Are you sure you want to unregister content host ""?
--

Please note here, the actual name of the host is missing here. Also a javascript error appears in Firebug. Please see the screenshot.

Expected results:

Additional info:

Associated revisions

Revision 6b86f1da (diff)
Added by Justin Sherrill over 4 years ago

Fixes #14196 - convert system destroy host-based destroy

This commits does a few different things:
  • removes the systems destroy api
  • adds a host subscription destroy to provide a way to unsubscribe a host from the ui
  • changes the Ui to give the user a choice (if available) to unsubscribe the host or
    delete the host entirely

Revision 3890efda (diff)
Added by Justin Sherrill over 4 years ago

Refs #14196 - support host subscription unsubscribe

Revision 6d7b82d2
Added by Justin Sherrill over 4 years ago

Merge pull request #5880 from jlsherrill/14196

Fixes #14196 - convert system destroy host-based destroy

Revision 090996f3
Added by Justin Sherrill over 4 years ago

Merge pull request #366 from jlsherrill/unregister

Refs #14196 - support host subscription unsubscribe

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5880 added

#2 Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/366 added

#3 Updated by Justin Sherrill over 4 years ago

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

#4 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 86

Also available in: Atom PDF