Bug 1520123 - [UI] - UI exception on add vNIC to template flow
Summary: [UI] - UI exception on add vNIC to template flow
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ovirt-4.2.1
: ---
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-03 09:16 UTC by Michael Burman
Modified: 2018-02-12 11:48 UTC (History)
3 users (show)

Fixed In Version: upstream 4.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-12 11:48:28 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
ui log and record (1.01 MB, application/x-gzip)
2017-12-03 09:16 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85094 0 master MERGED webadmin: Prevent nullPointerException by removing Cluster 2017-12-26 14:44:34 UTC

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.


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