Bug 640423

Summary: Dynagroups: Cannot "Save & Recalculate" a dynagroup from the creation wizard
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 4.0.0CC: mazz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 585306, 638727    

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.