Bug 721154
Summary: | unable to delete an alert template with lots of child alertdefs via the GUI | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> | ||||
Component: | Core UI | Assignee: | Robert Buck <rbuck> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.0.1 | CC: | ccrouch, hrupp, jshaughn, rbuck | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-10-12 19:53:42 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: | 717358, 729848, 730796 | ||||||
Attachments: |
|
Description
Ian Springer
2011-07-13 21:11:48 UTC
I just noticed that for the template I was able to delete successfully (the one with only 300 child alertdefs), the child alertdefs were not deleted. I would have expected them to be deleted along with their parent template, or at least to have been given the option to delete them. When I went to #Reports/Subsystems/AlertDefinitions and clicked on the View Parent link for one of the child alertdefs, I was taken to #Administration/Configuration/Templates/Alert/10008/120171 (presumably 120171 was the id of the template I deleted). There was no error, but all of the fields on the all of the tabs were blank... Created attachment 512762 [details]
screenshot
Need to prove this works or doesn't work, say with 10001 alert defs created via template and at least 50 alerts per def. The urgent piece of this bug is making sure the template delete operation is functionally correct, looking at Ian's comment it does not appear to be. Assuming the operation is working correctly, we need to see how long the request takes on a reasonably large environment, as Jay mentions. My preference would be to do as much of this async or pseudo-async as possible (i.e. hit the ok button and within 10seconds get message saying your request is being processed, and you are free to move around the ui and do other stuff while the request completes) However if thats impractical then we should try to mitigate the situations via the gwt timeout for the page This works for me; I created a template alert definition which became associated with 1010 resources and deletion took 28 seconds, and it did not error out. Further, the scrolling of the alerted resources showed little lag, taking only two or perhaps three seconds to render the list when scrolled quickly. |