Bug 952277
Summary: | disable xa-data-source causes that data-source loses its attribute enabled set to false and after reload it becomes enabled | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Radim Hatlapatka <rhatlapa> |
Component: | JCA | Assignee: | Stefano Maestri <smaestri> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | brian.stansberry, istudens, jpederse, ochaloup, rdickens, smaestri |
Target Milestone: | ER2 | Flags: | smaestri:
needinfo+
|
Target Release: | EAP 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
When an XA data source was set to `disabled`, and the data source was already `disabled`, the data source was enabled on the next restart. The cause of this issue has now been resolved. In the same circumstances, the data source now remains `disabled`.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-15 16:12:52 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: |
Description
Radim Hatlapatka
2013-04-15 14:39:59 UTC
Ivo Studensky <istudens> made a comment on jira WFLY-1933 My PR can be found here: https://github.com/istudens/wildfly/compare/WFLY-1933 Ivo Studensky <istudens> made a comment on jira WFLY-1933 The semantics under the {{PERSISTENT}} attribute of the {{enable}} operation should be reviewed again as it seems to be almost useless. The enable operation seems to be always called with {{persistent=true}}, see [1] [2]. Moreover, the result of the enable operation is always persisted despite the value of {{PERSISTENT}} attribute, see [3]. [1] https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/DsParser.java#L263 [2] https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Constants.java#L599 [3] https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/DataSourceEnable.java#L86 Ivo Studensky <istudens> made a comment on jira WFLY-1933 Oh, no. There is another jira WFLY-1893 for this.. Jesper Pedersen <jpederse> made a comment on jira WFLY-1933 For now, I'll let you close this as a duplicate yourself Ivo Studensky <istudens> made a comment on jira WFLY-1933 This duplicates WFLY-1893. Verified with EAP 6.2.0.ER7 Attention: Stefano Maestri Can you please provide brief text appropriate to the Release Notes regarding this issue? I have looked over the code changes briefly but I cannot understand just how this issue was resolved. Attention: Russel Dickenson Release note text: enabled attribute is correctly marshaled on xml when :disable operation is used. Let me know if you need something else. |