Bug 640423 - Dynagroups: Cannot "Save & Recalculate" a dynagroup from the creation wizard
Summary: Dynagroups: Cannot "Save & Recalculate" a dynagroup from the creation wizard
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0
Hardware: All
OS: Linux
low
medium vote
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: rhq4 gwt-groups
TreeView+ depends on / blocked
 
Reported: 2010-10-05 19:19 UTC by Corey Welton
Modified: 2011-05-24 01:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Corey Welton 2010-10-05 19:19:24 UTC
Description of problem:
Attempting to "Save & Recalculate" a newly created dynagroup from within the wizard appears to fail.  Furthermore, the dynagroup gets silently saved.

Version-Release number of selected component (if applicable):


How reproducible:
Everytime

Steps to Reproduce:
1.  Attempt to create a dynagroup.  give it a name of "foobar" and an expression of:

resource.type.plugin = Platforms
resource.type.name = Linux

2.  Click the Save & Recalculate button.  Note failure
3.  Click the Save button.  Note different failure.
  
Actual results:
* Save & Recalculate: User gets error, "Failed to Recalculate this group definition"
* Save:  User is given a fail notice that "A group definition with this name already exists"

Expected results:
Calc works
System should indicate that the dynagroup was already otherwise saved so s/he doesn't get stuck wondering what happened.

Additional info:

Comment 1 John Mazzitelli 2011-02-17 19:43:21 UTC
we could take out the save&recalculate button - just have this page create/save the group. you then calculate it later.

Comment 2 John Mazzitelli 2011-02-18 15:51:43 UTC
commit 2940445

save&recalculate button now works.

Comment 3 Corey Welton 2011-03-02 21:44:35 UTC
Verified.

Comment 4 Corey Welton 2011-05-24 01:13:38 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 5 Corey Welton 2011-05-24 01:13:39 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 6 Corey Welton 2011-05-24 01:13:39 UTC
Bookkeeping - closing bug - fixed in recent release.


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