Bug 1154678
| Summary: | [EAP6] - Newly created datasource is not enabled even when you have set Enabled=true -- user should be at least warned | |||
|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Filip Brychta <fbrychta> | |
| Component: | Plugins | Assignee: | Thomas Segismont <tsegismo> | |
| Status: | VERIFIED --- | QA Contact: | Filip Brychta <fbrychta> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.13 | CC: | hrupp, tsegismo | |
| Target Milestone: | --- | |||
| Target Release: | RHQ 4.13 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1156020 (view as bug list) | Environment: | ||
| Last Closed: | 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1156020 | |||
|
Description
Filip Brychta
2014-10-20 13:34:17 UTC
Fixed in master
commit d5e65f48de47b1c3258277e5e3e7d16881b679fc
Author: Thomas Segismont <tsegismo>
Date: Mon Oct 27 17:02:29 2014 +0100
Bug 1154678 - [EAP6] - Newly created datasource is not enabled even when you have set Enabled=true -- user should be at least warned
When the datasource was created, the 'enabled' attribute was supplied to the EAP6 management interface.
But setting the attribute to true does not enable the datasource. An extra server reload is needed.
To enable a datasource without a server reload, the 'enable' operation needs to be called.
So now the DatasourcesComponent class:
-> no longer supplies the 'enabled' attribute to the CreateResourceDelegate
-> reads the state of the datasource after creation
-> invokes the 'enable' or 'disable' operation (as needed) after creation
Additional commit in master
commit deff314454c6a055c407429032686054d04e6a31
Author: Thomas Segismont <tsegismo>
Date: Mon Oct 27 22:38:33 2014 +0100
Fix error in connection properties management code: do not clutter the created datasource Address
(regression detected in Jenkins)
Verified on Version : 4.13.0-SNAPSHOT Build Number : deff314 |