Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1377654 - Delete button works for primary interface
Summary: Delete button works for primary interface
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.2.0
Hardware: All
OS: All
high
medium
Target Milestone: Unspecified
Assignee: orabin
QA Contact: Peter Ondrejka
URL:
Whiteboard:
: 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-1.11.0.66-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1417119 (view as bug list)
Environment:
Last Closed: 2017-03-06 08:28:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
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:
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 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.

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.