Bug 544353
Summary: | Successive actions to create "New Group Definition" contain dirty data fields (caught by automation) | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Sefler <jsefler> |
Component: | Resource Grouping | Assignee: | John Sanda <jsanda> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | smohan, whayutin |
Target Milestone: | --- | Keywords: | SubBug |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:51:09 UTC | 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: | 562594, 565628, 584435 |
Description
John Sefler
2009-12-04 17:20:40 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug making sure we're not missing any bugs in rhq_triage Pushed commit e4689aecd3198c18147bdcaf7b1e9c731752deaf to bugfixes branch. There were two problems here. The ui bean code on the create and edit pages stores a marker attribute in the session to indicate that cached values should be used for form fields. The absence of the marker means that cached values should not be used. The ui beans for both pages were using the same marker, and if the group definition creation is successful, the marker should be getting removed from the session. I have modified the code so that different markers are used and so that the marker is removed from the session if group definition creation is successful. This should resolve seeing the stale data. Changes merged into master. Moving to ON_QA. JON Build #108 Revision :10611 I have done the following steps: 1)click on groups ->new group definition. 2)enter the name,description,check the recursive check box. 3)Click on create. 4)Select a template and add recalculation interval in minutes. 5)click on ok . 6)click on group ->new group definitions. observation : the name ,Description and Recursive fields are populated by predefined contents. Steps :1)clear the contents in the name ,description and recursive. 2)add new contents name,description and check the recursive checkbox. 3)Click on create . Observation : data in the template and the recalculation interval is predefined. this is still not working on JON build. If you look on hudson you will see that JON build 108 finished at Apr 21, 2010 4:35:00 PM. My changes were just merged into master yesterday, 4/22. There has not been a JON build that includes these changes. Moving back to ON_QA. JON Build #112 Revision 10615 steps: 1)click on groups ->new group definition. 2)enter the name,description,check the recursive check box. 3)Click on create. 4)Select a template and add recalculation interval in minutes. 5)click on ok . 6)click on group ->new group definitions. observation : the name and description fields are not predefined.When we try to create a new group definition with different name and description the group condition is preselected one and recalculation interval is also predefined. This still fails for me as described in Comment #1 RHQ version: 3.0.0-SNAPSHOT build number: 4fd30d0 Checked in a fix in the bugfixes branch that modifies the ui backing bean for the edit page so that stale values are not used to pre-populate form fields. Commit hash - de211f8fc7cbee6258b7dde44a602e9734036b23 Commit de211f8fc7cbee6258b7dde44a602e9734036b23 has been merged into master. Moving to ON_QA. JON Build #120 Revision:10615 steps: 1)click on groups ->new group definition. 2)enter the name,description,check the recursive check box. 3)Click on create. 4)Select a template and add recalculation interval in minutes. 5)click on ok . 6)click on group ->new group definitions. Observation : the name and description fields are not predefined .the group condition and Recalculation intervals are also not predefined. this is working fine now. Mass-closure of verified bugs against JON. |