Bug 535017 (RHQ-1757) - Error message after submitting group config change and switching to Current subtab
Summary: Error message after submitting group config change and switching to Current s...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-1757
Product: RHQ Project
Classification: Other
Component: Configuration
Version: 1.2
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Lukas Krejci
QA Contact: Jeff Weiss
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-1386
TreeView+ depends on / blocked
 
Reported: 2009-03-10 17:28 UTC by Jeff Weiss
Modified: 2014-11-09 22:48 UTC (History)
1 user (show)

Fixed In Version: 1.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
rev3351
Last Closed:
Embargoed:
jweiss: archived+


Attachments (Terms of Use)

Description Jeff Weiss 2009-03-10 17:28:00 UTC
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.

Comment 1 Joseph Marques 2009-03-20 05:34:17 UTC
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; 

Comment 2 Joseph Marques 2009-03-20 05:36:26 UTC
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).  

Comment 3 Joseph Marques 2009-03-20 05:37:23 UTC
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.

Comment 4 Jeff Weiss 2009-03-24 18:43:17 UTC
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.

Comment 5 Lukas Krejci 2009-04-17 12:28:06 UTC
the connection properties page should display the correct message now.

Comment 6 Jeff Weiss 2009-04-20 12:52:30 UTC
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

Comment 7 Red Hat Bugzilla 2009-11-10 20:46:01 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1757



Note You need to log in before you can comment on or make changes to this bug.