Bug 569456 - [raw-config] in advanced mode with validations,trying to commit with wrong value ends up with 2 records a failure & a success in history
Summary: [raw-config] in advanced mode with validations,trying to commit with wrong va...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RHQ Project
Classification: Other
Component: Configuration
Version: 3.0.0
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2010-03-01 14:27 UTC by Preethi Thomas
Modified: 2010-09-13 20:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-13 20:28:03 UTC
Embargoed:


Attachments (Terms of Use)
history page (391.47 KB, image/png)
2010-03-01 14:28 UTC, Preethi Thomas
no flags Details

Description Preethi Thomas 2010-03-01 14:27:34 UTC
Description of problem:

If you commit a config in advanced  mode with an invalid value, the history has 2 records. A failure and a subsequent success. The success has a field with the invalid field as empty.

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


How reproducible:


Steps to Reproduce:
1.Login to RHQ with nsswitch plugin
2.go to configuration->advanced tab.
3.edit
4.enter an invalid value for the passwd (or any field)
5.commit
6. See in history.
  
Actual results:
a failure & a success for a config with invalid value

Expected results:
failure. commit should only be successful if the values are valid.


Additional info:
screen shot for history

Comment 1 Preethi Thomas 2010-03-01 14:28:12 UTC
Created attachment 397078 [details]
history page

Comment 2 Preethi Thomas 2010-03-01 15:34:21 UTC
Here is some more info on this.

The failure & then success for update happens for every commit you make if you edit the values to a valid or invalid entry.

Comment 3 Preethi Thomas 2010-03-02 19:04:28 UTC
With the raw-config test plugin
 go to structured and raw server
 click on Intentory->Connection
 set Fail raw update to yes (Fail raw validation is No)
 go to configuration->advanced tab
 edit
 change some value and commit.
 go to history page to see a failure record immediately followed by a success record.

Comment 4 Corey Welton 2010-09-13 20:28:03 UTC
close wontfix


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