Bug 1020807

Summary: UI shows successful message even though an update of configuration failed
Product: [Other] RHQ Project Reporter: Filip Brychta <fbrychta>
Component: Core UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: low    
Version: 4.10CC: hrupp, jkremser
Target Milestone: ER01   
Target Release: RHQ 4.11   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-21 10:14:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Filip Brychta 2013-10-18 10:20:51 UTC
Created attachment 813707 [details]
screenshot

Description of problem:
I updated configuration of EAP6 datasource which was still enabled. This update failed (correctly) but the UI showed a successful message.

Version-Release number of selected component (if applicable):
Version: 4.10.0-SNAPSHOT
Build Number: 9eb9b7d

How reproducible:
Always

Steps to Reproduce:
1. navigate to EAP6 standalone resource->datasources->ExampleDS (if there is no datasource, create one)
2. go to configuration tab
3. change 'max pool size' property
4. click on save button

Actual results:
see attached screen shot - successful messages shows that current version is 10372, but on configuration history tab, you can see as current version 10281 and version 10372 has status failed

Expected results:
Error message should be shown

Comment 1 Jirka Kremser 2014-04-30 10:51:57 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/10e13d811
time:    2014-04-30 12:50:41 +0200
commit:  10e13d8118304efb8b287d5eacf24909fd8934cf
author:  Jirka Kremser - jkremser
message: [BZ 1020807] - UI shows successful message even though an update of
         configuration failed - Changing the message from "Configuration
         updated..." to "Updating configuration...", because we cannot
         predict if the configuration update will or will not be
         successful.

Comment 2 Filip Brychta 2014-05-12 12:19:55 UTC
Verified on
Version :	
4.12.0-SNAPSHOT
Build Number :	
03bc193

Comment 3 Heiko W. Rupp 2014-07-21 10:14:05 UTC
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out.

If you find an issue with those, please open a new BZ, linking to the old one.