Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 82074

Summary: Delete ethernet hardware, IndexError: list index out of range
Product: [Retired] Red Hat Public Beta Reporter: Warren Togami <wtogami>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: phoebe   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-30 16:28:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 81720    

Description Warren Togami 2003-01-17 05:15:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218

Description of problem:
Within the "Hardware" tab when I attempt to delete my 8139too device "RealTek
RTL-8139, SMC EZ Card" and click "Yes" redhat-config-network-1.1.90-1
immediately crashes with this dump:

Component: redhat-config-network
Version: 1.1.90
Summary: TB
/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py:1355:on_hardwareDeleteButton_clicked:IndexError:
list index out of range
Traceback (most recent call last):
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 569, in on_deleteButton_clicked
    self.deleteButtonFunc[self.active_page](button)
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 1355, in on_hardwareDeleteButton_clicked
    page = clist.selection[0])
IndexError: list index out of range

Version-Release number of selected component (if applicable):
redhat-config-network-1.1.90-1
rhpl-0.75-1

How reproducible:
Always

Steps to Reproduce:
1. redhat-config-network
2. "Hardware" tab
3. Delete ethernet device, click yes
    
Actual Results:  
Crash.

Expected Results:  
Shouldn't crash.