Bug 659247
Summary: | Delete queue dialog loop | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Jan Sarenik <jsarenik> |
Component: | cumin | Assignee: | Trevor McKay <tmckay> |
Status: | CLOSED ERRATA | QA Contact: | Jan Sarenik <jsarenik> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.3 | CC: | croberts, iboverma, jross, matt, tmckay |
Target Milestone: | 2.0.1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cumin-0.1.4840-1 | Doc Type: | Bug Fix |
Doc Text: |
An object that was in the process of being deleted could have still been selecetd in Cumin, and any further operations on such an object resulted in internal errors. In turn, these unhandled exceptions could have caused unpredictable behavior, such as a web form stuck in an infinite loop. This update adds appropriate error-handling around forms which operate on selected objects, with the result that operations on deleted objects are now handled gracefully by Cumin, which informs users in the event of an error.
|
Story Points: | --- |
Clone Of: | Environment: |
Stable MRG 1.3.0.1
|
|
Last Closed: | 2011-09-07 16:45:16 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: | 723887 |
Description
Jan Sarenik
2010-12-02 10:00:35 UTC
Also note, if nothing is selected and remove is pressed, the remove dialog box comes up without a selection. That probably is wrong as well. Revision 4784. Fixed infinite loop, problem was an uncaught exception on an object that had been deleted after it had been selected. Additionally, fixed the buttons here (and for Job hold, release, remove) so that press on an empty selection goes straight to the cancel state and completes the task process. Effect is a momentary "Loading" state but no form. As for the error message that appears if multiple deletions are made on the same queue before they can be processed, that may be a harder problem. Do we want to try to suppress that, or are we okay with the message? (personally, I am okay with it) +1 for being ok with the error message As for me, the error message was not the point of this BZ, so +1 See about invalidating buttons for selections when the selection list is 0. That is, if nothing is checked, don't allow the button press. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Asynchronous operations lead to a situation where an object which is in the process of being deleted is still selectable in Cumin. Futher operations on the object result in internal errors. This is okay, but Cumin does not handle the errors. Consequence Unhandled exceptions cause unpredictable behavior, such as a web form stuck in an infinite loop. Fix Add error handling around forms that operate on selected objects which may have been deleted. Result Errors from operations on deleted objects are handled gracefully by Cumin. Users are informed as appropriate to the operation. Verified in cumin-0.1.4878-1.el5 Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,11 +1 @@ -Cause +An object that was in the process of being deleted could have still been selecetd in Cumin, and any further operations on such an object resulted in internal errors. In turn, these unhandled exceptions could have caused unpredictable behavior, such as a web form stuck in an infinite loop. This update adds appropriate error-handling around forms which operate on selected objects, with the result that operations on deleted objects are now handled gracefully by Cumin, which informs users in the event of an error.- Asynchronous operations lead to a situation where an object which is in the process of being deleted is still selectable in Cumin. Futher operations on the object result in internal errors. This is okay, but Cumin does not handle the errors. - -Consequence - Unhandled exceptions cause unpredictable behavior, such as a web form stuck in an infinite loop. - -Fix - Add error handling around forms that operate on selected objects which may have been deleted. - -Result - Errors from operations on deleted objects are handled gracefully by Cumin. Users are informed as appropriate to the operation. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1249.html |