Bug 726747
Summary: | Flipping between Inventory Summary and Platform Utilization repeatedly causes global uncaught exception. | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Robert Buck <rbuck> |
Component: | Core UI | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 4.1 | CC: | hrupp, jshaughn, mazz, skondkar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 19:21:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 731034, 625146, 729848, 730796 |
Description
Robert Buck
2011-07-29 17:30:04 UTC
Here's an example of how fast user clicking can cause GUI code to be executed in the wrong order thereby causing exceptions and/or unexpected behavior. The steps listed are executed in order: 1) user clicks on Resource X in tree - browser intercepts click and calls onClick event handler for tree node 2) getResourceComposite(X) async server call is made - control returns to browser while waiting for async call to return 3) user clicks on Resource Y in tree - browser intercepts click and calls onClick event handler for tree node 4) getResourceComposite(Y) async server call is made - control returns to browser while waiting for async call to return 5) getResourceComposite(X) async server call returns and browser calls onSuccess() handler which continues rendering X detail view At this point we're in an inconsistent state because we've begun rendering both the detail view for X and the detail view for Y at the same time and both are updating the same ResourceDetailView (resource header, tabs, etc.). Essentially any async server calls provide windows of opportunity for the browser to handle user clicks before GUI code is fully done drawing the view corresponding to a prior user click. fast-clicking solution that bob is working on might fix this... assigning to bob FYI, I did repro and work on this. I actually missed the fact it was assigned to Bob. It's definitely a quick click issue as an async call is made in the constructor and the error happens in the callback. Bob's change would probably have addressed this (he could use the non-fixed version to test) but I also ended up making a fix that I think solves the issue. master commit: 66918cbae7af05caf897da41231109d5b427737f Verified on build#298 (Version: 4.1.0-SNAPSHOT Build Number: 66918cb) Rapidly and repeatedly clicked between Inventory Summary and Platform Utilization. Also tried to flip rapidly between other subsystem menus. No exception is observed. Marking as verified. changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |