Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1505937

Summary: press ESC in search form in breadcrumb causes ui error
Product: [oVirt] ovirt-engine Reporter: Lucie Leistnerova <lleistne>
Component: Frontend.WebAdminAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, gshereme, oourfali
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:08:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lucie Leistnerova 2017-10-24 15:13:26 UTC
Description of problem:
When pressing ESC in search form in breadcrumb ui error appears - 
Details: Exception caught: (TypeError) : c is null

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

How reproducible: always


Steps to Reproduce:
1. go to VMs detail
2. open search form in breadcrumb (arrows icon next to VM name)
3. search form is displayed
4. press ESC

Actual results: search form is closed, UI error appears


Expected results: search form is closed, no error


Additional info:
ui.log

2017-10-24 17:08:07,681+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-12) [] Permutation name: B99140E456CD45E9F450753A7EAA1820
2017-10-24 17:08:07,681+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-12) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : c is null
        at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_144]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_144]
        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.view.client.SelectionChangeEvent.fire(SelectionChangeEvent.java:67) [gwt-servlet.jar:]
        at org.ovirt.engine.ui.uicommonweb.models.OrderedMultiSelectionModel.$resolveChanges(OrderedMultiSelectionModel.java:115)
        at org.ovirt.engine.ui.uicommonweb.models.OrderedMultiSelectionModel.fireSelectionChangeEvent(OrderedMultiSelectionModel.java:108)
        at com.google.gwt.view.client.SelectionModel$AbstractSelectionModel$1.execute(SelectionModel.java:128) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:272) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.exit(Impl.java:313) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
        at Unknown.Ju/<(https://engine/ovirt-engine/webadmin/?locale=en_US)
        at Unknown.anonymous(Unknown)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : c is null
        at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.$isSelectedVmBeingConverted(VmListModel.java:2001)
        at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.$updateActionsAvailability(VmListModel.java:1947)
        at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.selectedItemsChanged(VmListModel.java:1931)
        at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItems(ListModel.java:61)
        at org.ovirt.engine.ui.common.uicommon.model.DataBoundTabModelProvider.$setSelectedItems(DataBoundTabModelProvider.java:67)
        at org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractMainWithDetailsPresenter.$lambda$0(AbstractMainWithDetailsPresenter.java:96)
        at org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractMainWithDetailsPresenter$lambda$0$Type.onSelectionChange(AbstractMainWithDetailsPresenter.java:96)
        at com.google.gwt.view.client.SelectionChangeEvent.dispatch(SelectionChangeEvent.java:98) [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:]
        ... 11 more

Comment 1 rhev-integ 2017-11-02 21:08:40 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Tag 'ovirt-engine-4.2.0_beta1' doesn't contain patch 'https://gerrit.ovirt.org/83564']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.2.0_beta1

For more info please contact: infra

Comment 2 Lucie Leistnerova 2017-11-14 12:41:53 UTC
ESC works without error

verified in ovirt-engine-webadmin-portal-4.2.0-0.0.master.20171113223918.git25568c3.el7.centos.noarch

Comment 3 Sandro Bonazzola 2017-12-20 11:08:40 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.