Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1377654 - Delete button works for primary interface
Delete button works for primary interface
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Hosts (Show other bugs)
6.2.0
All All
high Severity medium (vote)
: 6.2.8
: Unused
Assigned To: orabin
Peter Ondrejka
: Triaged
: 1395644 1405407 (view as bug list)
Depends On:
Blocks: 1417119
  Show dependency treegraph
 
Reported: 2016-09-20 06:01 EDT by Anand Agrawal
Modified: 2017-07-26 08:36 EDT (History)
7 users (show)

See Also:
Fixed In Version: foreman-1.11.0.66-2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1417119 (view as bug list)
Environment:
Last Closed: 2017-03-06 03:28:45 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 14726 None None None 2016-09-27 02:55 EDT
Red Hat Product Errata RHBA-2017:0447 normal SHIPPED_LIVE Satellite 6.2.8 Async Bug Release 2017-03-06 08:23:41 EST

  None (edit)
Description Anand Agrawal 2016-09-20 06:01:37 EDT
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:
Always


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 14:08:07 EDT
The bug does not appear in pure foreman upstream.
Comment 4 Anand Agrawal 2016-09-27 00:57:07 EDT
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 02:55:27 EDT
Connecting redmine issue http://projects.theforeman.org/issues/14726 from this bug
Comment 6 Bryan Kearney 2016-09-27 04:19:06 EDT
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 11:35:16 EDT
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 10:07:06 EST
*** Bug 1395644 has been marked as a duplicate of this bug. ***
Comment 10 Daniel Lobato Garcia 2016-12-23 07:38:05 EST
*** Bug 1405407 has been marked as a duplicate of this bug. ***
Comment 12 Peter Ondrejka 2017-02-08 11:07:08 EST
Verfied in Satellite 6.2.8. It is no longer possible to delete host's primary interface.
Comment 14 errata-xmlrpc 2017-03-06 03:28:45 EST
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.

https://access.redhat.com/errata/RHBA-2017:0447

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