Bug 1478887 - resize of the window causes UI error
Summary: resize of the window causes UI error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Alexander Wels
QA Contact: samuel macko
URL:
Whiteboard:
: 1480072 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-07 12:43 UTC by Lucie Leistnerova
Modified: 2017-12-20 11:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:04:18 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 80343 0 master MERGED webadmin: fix ui exception 2017-08-09 18:33:18 UTC

Description Lucie Leistnerova 2017-08-07 12:43:53 UTC
Description of problem:
Every resize of browser window causes UI error: olu(...).contentWindow is null

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.2.0-0.0.master.20170806164941.git514c1c9.el7.centos.noarch

How reproducible: always


Steps to Reproduce:
1. log into admin portal
2. go to Virtual machines
3. resize window of the browser

Actual results: UI errors appear


Expected results: no UI error


Additional info:
ui.log

2017-08-07 14:21:32,278+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-11) [] Permutation name: 587DD5EF8832DAB414A2661F26562AEA
2017-08-07 14:21:32,288+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-11) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : olu(...).contentWindow is null
        at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_141]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_141]
        at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:]
        at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25) [gwt-servlet.jar:]
        at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]
        at com.google.gwt.event.logical.shared.ResizeEvent.fire(ResizeEvent.java:40) [gwt-servlet.jar:]
        at com.google.gwt.user.client.Window.onResize(Window.java:862) [gwt-servlet.jar:]
        at Unknown.onresize<(https://host1.obfuscateddomain0.com/ovirt-engine/webadmin/?locale=en_US)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
        at Unknown.Ku/<(https://host1.obfuscateddomain0.com/ovirt-engine/webadmin/?locale=en_US)
        at Unknown.anonymous(Unknown)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : olu(...).contentWindow is null
        at org.ovirt.engine.ui.webadmin.section.main.view.DynamicUrlContentTabView.$lambda$1(DynamicUrlContentTabView.java:29)
        at org.ovirt.engine.ui.webadmin.section.main.view.DynamicUrlContentTabView$lambda$1$Type.onResize(DynamicUrlContentTabView.java:29)
        at com.google.gwt.event.logical.shared.ResizeEvent.dispatch(ResizeEvent.java:104) [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:]
        ... 8 more

Comment 1 Greg Sheremeta 2017-08-07 19:02:55 UTC
Same cause as Bug 1478020

Comment 2 Red Hat Bugzilla Rules Engine 2017-08-07 19:19:07 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 3 Greg Sheremeta 2017-08-13 21:54:08 UTC
*** Bug 1480072 has been marked as a duplicate of this bug. ***

Comment 4 samuel macko 2017-08-30 11:32:59 UTC
Verified in ovirt version 4.2.0-0.0.master.20170828065003.git0619c76.el7.centos.

Verified by following the reproducer.

Comment 5 Sandro Bonazzola 2017-12-20 11:04:18 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.


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