Bug 1032510

Summary: wrong nic numbering when removing a nic from the add vm page
Product: Red Hat Enterprise Virtualization Manager Reporter: Ohad Basan <obasan>
Component: ovirt-engine-webadmin-portalAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, ecohen, eedri, iheim, lvernia, myakove, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-24 13:08:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ohad Basan 2013-11-20 10:33:09 UTC
Description of problem:

1.Click "add vm"
2 .add a nic to "nic1" 
3. click the "+" button
4. click the "-" button
5. you are left with "nic2" instead of nic1.


The "-" button should be available on both nic1 line which has a nic and on nic2 which doesn't have a nic and is an empty line
when removing one of the nic lines only "nic1" should be displayed

Comment 1 Lior Vernia 2013-11-24 13:08:23 UTC
When removing the "nic1" row there's no reason why "nic1" would remain. The "-" button appears whenever a new row is added (i.e. the last row never has a "-" sign next to it because at least one row has to always be available for editing).