Bug 1377654 - Delete button works for primary interface
Summary: Delete button works for primary interface
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.2.0
Hardware: All
OS: All
Target Milestone: Unspecified
Assignee: orabin
QA Contact: Peter Ondrejka
: 1395644 1405407 (view as bug list)
Depends On:
Blocks: 1417119
TreeView+ depends on / blocked
Reported: 2016-09-20 10:01 UTC by Anand Agrawal
Modified: 2020-04-15 14:41 UTC (History)
7 users (show)

Fixed In Version: foreman-
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1417119 (view as bug list)
Last Closed: 2017-03-06 08:28:45 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14726 0 None None None 2016-09-27 06:55:30 UTC
Red Hat Product Errata RHBA-2017:0447 0 normal SHIPPED_LIVE Satellite 6.2.8 Async Bug Release 2017-03-06 13:23:41 UTC

Description Anand Agrawal 2016-09-20 10:01:37 UTC
Description of problem:

When we edit a hosts and delete or add interfaces we are able to click the Delete button from the primary interface although the button show a stop symbol when you hover over it.

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

How reproducible:

Steps to Reproduce:

Hosts --> All Hosts --> Edit Host --> Interfaces --> Click the Delete button from the primary interface

Actual results:

If you click on delete button, the interface gets deleted

Expected results:

AS the deleted button in greyed out and when you hover over the button, stop symbol appears, it should not be deleted

Additional info:

In the html code from the button there is only missing a "disabled" statment in the code

Current code:
<button class="btn btn-danger removeInterface disabled" type="button">Delete</button>

Working code in live code edit
<button class="btn btn-danger removeInterface disabled" type="button" disabled>Delete</button>

Comment 3 Shimon Shtein 2016-09-26 18:08:07 UTC
The bug does not appear in pure foreman upstream.

Comment 4 Anand Agrawal 2016-09-27 04:57:07 UTC
I alredy mentioned  in comment#1.  It does not appear for pure foreman upstream.

This bug appears in Satellite. I have checked Satellite V 6.2.0, 6.2.1 and 6.2.2.

This appears in all Satellite 6.2 Version.

Comment 5 Shimon Shtein 2016-09-27 06:55:27 UTC
Connecting redmine issue http://projects.theforeman.org/issues/14726 from this bug

Comment 6 Bryan Kearney 2016-09-27 08:19:06 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/14726 has been resolved.

Comment 8 Peter Ondrejka 2016-10-20 15:35:16 UTC
Verfied in Satellite 6.3 snap 5. It is no longer possible to delete host's primary interface.

Comment 9 Marek Hulan 2016-11-16 15:07:06 UTC
*** Bug 1395644 has been marked as a duplicate of this bug. ***

Comment 10 Daniel Lobato Garcia 2016-12-23 12:38:05 UTC
*** Bug 1405407 has been marked as a duplicate of this bug. ***

Comment 12 Peter Ondrejka 2017-02-08 16:07:08 UTC
Verfied in Satellite 6.2.8. It is no longer possible to delete host's primary interface.

Comment 14 errata-xmlrpc 2017-03-06 08:28:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.