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

Bug 1275760

Summary: [z-stream clone 3.6.z] Whenever an exception is thrown in the front end code, unrelated parts of the GUI tend to stop working (e.g. 'new' and 'import' buttons under Networks tab)
Product: [oVirt] ovirt-engine Reporter: Einav Cohen <ecohen>
Component: Frontend.WebAdminAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, gklein, jbelka, lsurette, mburman, mgoldboi, pstehlik, rbalakri, vszocs, yeylon, ykaul
Target Milestone: ovirt-3.6.1Keywords: ZStream
Target Release: 3.6.1Flags: ecohen: ovirt-3.6.z?
ecohen: planning_ack?
ecohen: devel_ack+
pstehlik: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1215727 Environment:
Last Closed: 2016-03-11 07:21:01 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:
Bug Depends On: 1215727    
Bug Blocks:    
Attachments:
Description Flags
pop-up box with uncaught UI exception none

Description Einav Cohen 2015-10-27 16:35:44 UTC
+++ This bug was initially created as a clone of Bug #1215727 +++

Description of problem:
Whenever an exception is thrown in the front end code, unrelated parts of the GUI tend to stop working (e.g. 'new' and 'import' buttons under Networks tab).

This needs to be addressed in two ways:

1. Global uncaught exception handler (that also logs runtime errors)
2. An alert that appears at the top of the screen whenever there is a javascript exception, recommending the user to refresh the page in order to avoid unexpected behavior.

Comment 2 Jiri Belka 2016-02-29 09:36:10 UTC
FYA https://bugzilla.redhat.com/show_bug.cgi?id=1309562 - add a config option for showing UI exception pop-up

Comment 3 Pavel Novotny 2016-02-29 16:24:14 UTC
Verified in rhevm-webadmin-portal-3.6.3.3-0.1.el6, rhevm-userportal-3.6.3.3-0.1.el6.

All uncaught UI exceptions are shown in a pop-up box at the top. See attached screenshot.

Note: as comment 2 mentions, visibility of the pop-up box is set via config option DisplayUncaughtUIExceptions. Default is false for RHEVM, true for oVirt.

Comment 4 Pavel Novotny 2016-02-29 16:25:08 UTC
Created attachment 1131609 [details]
pop-up box with uncaught UI exception

Comment 5 Michael Burman 2016-02-29 16:39:24 UTC
Hi Pavel,

Please note that the origin scenario described in BZ 1215727, still behaves as reported. No pop-up box with uncaught UI exception is shown to the user and parts of the UI stop working on 3.6.3.3-0.1.el6(until refreshing the page)