Bug 1520123

Summary: [UI] - UI exception on add vNIC to template flow
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: Frontend.WebAdminAssignee: Ales Musil <amusil>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: low    
Version: 4.2.0CC: bugs, danken, mburman
Target Milestone: ovirt-4.2.1Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: upstream 4.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 11:48:28 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:
Attachments:
Description Flags
ui log and record none

Description Michael Burman 2017-12-03 09:16:20 UTC
Created attachment 1362201 [details]
ui log and record

Description of problem:
[UI] - UI exception on add vNIC to template flow.

After adding a nic to a template and then adding another one, an ui excpetion is shown in the front webadmin ui. 

2017-12-03 11:05:57,906+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-9) [] Permutation name: 8983C55D49E7D0736B1DCB0E742B51E7
2017-12-03 11:05:57,906+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-9) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'n' of null
        at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_151]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_151]

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20171201121510.gitb338573.el7.centos


Steps to Reproduce:
1. Add nic to a template
2. Add another nic to the template

Actual results:
UI exception

Expected results:
No exceptions

Comment 1 Yaniv Kaul 2017-12-03 12:42:59 UTC
Does the operation succeed?

Comment 2 Michael Burman 2017-12-03 14:15:24 UTC
(In reply to Yaniv Kaul from comment #1)
> Does the operation succeed?

No, it fails when pressing the 'New' button, when the UI exception is shown the New nic dialog is not opened and i need to press it again. 
The exception is when pressing the 'New' button and not when approving the operation it self(sorry for not being clear).

Comment 3 Michael Burman 2018-01-07 13:29:27 UTC
Verified on - 4.2.1-0.2.el7

Comment 4 Sandro Bonazzola 2018-02-12 11:48:28 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

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