Bug 1389998 - [UI] - ui exception is thrown when closing every dialog window in the webadmin portal with the 'x' sign
Summary: [UI] - ui exception is thrown when closing every dialog window in the webadmi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.5.4
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ovirt-4.0.5
: 4.0.5.5
Assignee: Greg Sheremeta
QA Contact: Pavel Novotny
URL:
Whiteboard:
: 1390000 (view as bug list)
Depends On:
Blocks: 1377271
TreeView+ depends on / blocked
 
Reported: 2016-10-30 13:19 UTC by Michael Burman
Modified: 2016-11-29 23:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-29 23:35:09 UTC
oVirt Team: UX
Embargoed:
oourfali: ovirt-4.0.z?
rule-engine: blocker?
mburman: planning_ack?
rule-engine: devel_ack+
pnovotny: testing_ack+


Attachments (Terms of Use)
screenshot (216.08 KB, image/png)
2016-10-30 13:19 UTC, Michael Burman
no flags Details
logs (185.66 KB, application/x-gzip)
2016-10-31 06:53 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65899 0 master POST webadmin,userportal: Clean up Editor fields before Model objects 2016-10-31 12:06:27 UTC
oVirt gerrit 65917 0 ovirt-engine-4.0 POST webadmin: Null check before model cleanup 2016-10-31 18:32:49 UTC
oVirt gerrit 65918 0 ovirt-engine-4.0 POST webadmin,userportal: Clean up Editor fields before Model objects 2016-10-31 18:33:16 UTC
oVirt gerrit 65922 0 ovirt-engine-4.0.5 POST webadmin: Null check before model cleanup 2016-10-31 19:14:58 UTC
oVirt gerrit 65923 0 ovirt-engine-4.0.5 POST webadmin,userportal: Clean up Editor fields before Model objects 2016-10-31 19:15:10 UTC

Description Michael Burman 2016-10-30 13:19:41 UTC
Created attachment 1215566 [details]
screenshot

Description of problem:
[UI] - ui exception is thrown when closing every dialog window in the webadmin portal with the 'x' sign


2016-10-30 15:13:37,796 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Permutation name: 2D3D9270307C9078085A70A0F003D07C
2016-10-30 15:13:37,796 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: Cannot read property 'X7' of null
        at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$hideAndUnbind(AbstractModelBoundPopupPresenterWidget.java:272)
        at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget$3.commandFinished(AbstractModelBoundPopupPresenterWidget.java:184)
        at org.ovirt.engine.ui.common.uicommon.model.DeferredModelCommandInvoker$1.execute(DeferredModelCommandInvoker.java:44)
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:336) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:137) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:296) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) [gwt-servlet.jar:]
        at Unknown.eval(webadmin-0.js@54)
        at Unknown.eval(webadmin-0.js@50)
        at Unknown.eval(webadmin-0.js@53)


Version-Release number of selected component (if applicable):
4.0.5.4-0.1.el7ev

How reproducible:
100%

Steps to Reproduce:
1. Open any dialog window in the webadmin ui, it can be: new host, new cluster, new dc, new vm and so on..
2. Close it with 'x' sign

Actual results:
ui exception is thrown is the front ui

Expected results:
Should work as expected

Comment 1 Red Hat Bugzilla Rules Engine 2016-10-31 04:03:48 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Michal Skrivanek 2016-10-31 06:21:23 UTC
Seems related to bug 1390000 without clicking on "x". If that's the case it should block 4.0.5

Comment 3 Yaniv Kaul 2016-10-31 06:23:41 UTC
If you can get debuginfo installed, we can get a full stack. Please provide it.

Comment 4 Michael Burman 2016-10-31 06:53:07 UTC
Created attachment 1215683 [details]
logs

Comment 5 Yaniv Kaul 2016-10-31 07:01:31 UTC
(In reply to Michael Burman from comment #4)
> Created attachment 1215683 [details]
> logs

copy-paste of the stack to bugzilla to allow future search:
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: Cannot read property 'Tc' of undefined
	at org.ovirt.engine.ui.common.widget.AbstractUiCommandButton.$cleanup(AbstractUiCommandButton.java:108)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.provider.ProviderPopupView_DriverImpl.$cleanup(ProviderPopupView_DriverImpl.java:62)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.provider.ProviderPopupView.cleanup(ProviderPopupView.java:204)
	at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$hideAndUnbind(AbstractModelBoundPopupPresenterWidget.java:272)
	at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler.$handleWindowModelChange(ModelBoundPopupHandler.java:80)
	at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler$1.eventRaised(ModelBoundPopupHandler.java:61)
	at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:114)
	at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChanged(Model.java:470)
	at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChanged(Model.java:470)
	at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Model.java:92)
	at org.ovirt.engine.ui.uicommonweb.models.providers.EditProviderModel.executeCommand(EditProviderModel.java:128)
	at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163)
	at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget$6.onClick(AbstractModelBoundPopupPresenterWidget.java:334)
	at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55) [gwt-servlet.jar:]
	at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:]
	at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:]

Comment 7 Oved Ourfali 2016-10-31 11:32:40 UTC
*** Bug 1390000 has been marked as a duplicate of this bug. ***

Comment 8 Pavel Novotny 2016-11-02 15:47:38 UTC
Verified in:
rhevm-4.0.5.5-0.1.el7ev.noarch
ovirt-engine-webadmin-portal-4.0.5.5-0.1.el7ev.noarch

Closing a modal dialog via 'X' button or Esc key no longer throws UI exception.


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