How to repeat: On a group config page, change a value (homogenously, don't use the modal), and click save. As soon as the next page loads (the history page) click the link for the Current subtab. You get this error message: Failed to load group Resource configuration. Cause: java.lang.Exception:Current group Resource configuration for org.rhq.core.domain.resource.group.ResourceGroup@5a629453 cannot be calculated, because a group Resource configuration update is currently in progress. This is ugly, if you can't load the tab, you should print "Resource configuration update is currently in progress. Please wait..." and then auto-reload the page every 5-10 seconds.
rev3465 - better error handling (at UI layer as well as corresponding SLSB) when viewing current group configuration for a resourceGroup that current has INPROGRESS members;
note: the page doesn't auto-refresh in these circumstances as i didn't have enough time before 1.2 release to implement the reloading logic conditionally (i.e., only reload if there are inprogress elements, and /do not/ reload if the group config could be calculated).
jeff, when testing, make sure that you test the group plugin configuration (a.k.a connection properties) UI pages too, as i changed both areas of code with this single fix.
rev3509/linux/postgres: I created a compat group with just my one RHQ server in it. I edit the connection properties to change the shutdown method to shutdown script, then saved. Then i clicked the link to go back to the Current page, and got this in a red box: Failed to load group plugin configuration. Cause: java.lang.Exception:Current group plugin configuration for ResourceGroup[id=500062, name=rhq-1757, category=COMPATIBLE, type=JBossAS Server, isDynaGroup=false, isClusterGroup=false] cannot be calculated, because a group plugin configuration update is currently in progress.
the connection properties page should display the correct message now.
now get "Configuration update is currently in progress. Please wait a few moments and refresh the page. " on both config and connection properties pages. rev3798
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1757