Bug 1156020
Summary: | [EAP6] - Newly created datasource is not enabled even when you have set Enabled=true -- user should be at least warned | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Filip Brychta <fbrychta> |
Component: | Plugin -- JBoss EAP 6 | Assignee: | Thomas Segismont <tsegismo> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Filip Brychta <fbrychta> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | JON 3.3.0 | CC: | hrupp, lzoubek, myarboro, rhatlapa, rhq-maint, tsegismo |
Target Milestone: | CR01 | ||
Target Release: | JON 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1154678 | Environment: | |
Last Closed: | 2014-12-11 13:59:25 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: | |||
Bug Depends On: | 1154678 | ||
Bug Blocks: |
Description
Filip Brychta
2014-10-23 12:12:19 UTC
Visible in Version : 3.3.0.ER05 Build Number : 92b6d6a:2cdb528 as well. 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) branch: release/jon3.3.x link: https://github.com/rhq-project/rhq/commit/42a2d2f80 time: 2014-10-29 12:22:26 +0100 commit: 42a2d2f80c2325f3403ff35cba7fbd9669434525 author: Thomas Segismont - tsegismo message: Bug 1154678 - [EAP6] - Newly created datasource is not enabled even when you have set Enabled=true -- user should be at least warned Fix error in connection properties management code: do not clutter the created datasource Address (regression detected in Jenkins) (cherry picked from commit deff314454c6a055c407429032686054d04e6a31) Signed-off-by: Libor Zoubek <lzoubek> branch: release/jon3.3.x link: https://github.com/rhq-project/rhq/commit/07c3db0af time: 2014-10-29 12:22:14 +0100 commit: 07c3db0afe16e0105dc026f1b62b401f52311bf5 author: Thomas Segismont - tsegismo message: 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 (cherry picked from commit d5e65f48de47b1c3258277e5e3e7d16881b679fc) Signed-off-by: Libor Zoubek <lzoubek> Moving to ON_QA as available to test with latest brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=396547 Verified on Version : 3.3.0.CR01 Build Number : 08c2f39:6ac97ac |