Red Hat Bugzilla – Bug 589199
modal view of "Synchronization Results History" entries disappears after few seconds
Last modified: 2010-08-12 12:45:39 EDT
Created attachment 411653 [details]
modal success message
Description of problem:
Modal result view of a Successful Synchronization run stays visible for a few seconds and then disappears. For synchronization results of more than a few lines, it will be hard for user to read and act on. See attached results for synchronization run image before it disappeared.
Version-Release number of selected component (if applicable):
Jon build 127 from http://hudson-qe.rhq.rdu.redhat.com:8080/job/jon/
should map to master build 280.
Steps to Reproduce:
1. Install JON
2. Update the CSP credentials for "JBoss CSP Patch Feed" content source.
3. Initiate synchronization results. Select a successful synchronization run and click on it. Modal view of the synchronization results disappears.
Modal view is visible for 3-5 seconds then vanishes.
Modal results view should remain until user closes box or much longer timeout occurs.
It does not matter if the user is browsing the modal window or still using it. After a few seconds results disappear.
Possibly related to BZ 589161.
After much research, this is not related to 589161 at all.
The modal panel is implemented as a child element of an ajax region that is updated every 7 seconds. This means than every few seconds the modal panel is reset even if the user is still viewing it.
After consult with Joseph, the suggested fix is to pull the modalPanel's definition outside of the polled Ajax region and simply attach it later to avoid recursive update with the other polling region elements. The extraction of the modal element is not difficult but passing the iteration content to the modal panel proved remarkably difficult. None of the parameter passing to the rich:modalPanel techniques I found appear to work. Other mechanisms of rhq implementations of retrieving data to populate the modal panels do not appear to work for this specific situation. See /rhq/common/events/history.xhtml for more details. In each rhq case I found the data populating the modal panel was not table-iteration sensitive and could be linked back to an explicit user checkbox selection so that other utilities could be used to retrieve the correct information.
Current fix is available in successful master build >= 298 with
QA Verified, the modal window no longer disappears,
Mass-closure of verified bugs against JON.