Bug 1480116

Summary: [UI] - UI exception when choosing a disk or pressing on a disk entity
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: Frontend.WebAdminAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: amureini, bugs, gshereme, ratamir, tnisan
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:36:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ui log
none
record none

Description Michael Burman 2017-08-10 08:10:28 UTC
Created attachment 1311625 [details]
ui log

Description of problem:
[UI] - UI exception when choosing a disk or pressing on a disk entity 

Go to 'Storage' main tab and then to 'Disks', press on a disk entity and UI exception is thrown - 

2017-08-10 11:06:10,806+03 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Permutation name: ACE2D63A1980E87AF16B317C1BE4C334
2017-08-10 11:06:10,807+03 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'nh' of null
        at java.lang.String.join(String.java:123) [rt.jar:1.8.0_131]
        at org.ovirt.engine.ui.uicommonweb.models.disks.DiskGeneralModel.$updateProperties(DiskGeneralModel.java:187)
        at org.ovirt.engine.ui.uicommonweb.models.disks.DiskGeneralModel.onEntityChanged(DiskGeneralModel.java:172)
        at org.ovirt.engine.ui.uicommonweb.models.EntityModel.$setEntity(EntityModel.java:35)
        at org.ovirt.engine.ui.uicommonweb.models.EntityModel.setEntity(EntityModel.java:35)
Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170809175855.git1082d9d.el7.centos

How reproducible:
100%

Comment 1 Michael Burman 2017-08-10 08:11:25 UTC
Created attachment 1311626 [details]
record

Comment 2 Greg Sheremeta 2017-08-13 22:06:57 UTC
works for me, but assigning to Storage so they can also be sure

Comment 3 Raz Tamir 2017-08-27 08:23:10 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20170826130128.git27024d1.el7.centos

No UI exception is thrown when pressing on disk entity

Comment 4 Sandro Bonazzola 2017-12-20 11:36:56 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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