[jboss-jira] [JBoss JIRA] (WFLY-2986) cli batch incorrect handling of the enabled attribute during datasource creation
Tomaz Cerar (JIRA)
issues at jboss.org
Fri Feb 21 05:01:47 EST 2014
[ https://issues.jboss.org/browse/WFLY-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar updated WFLY-2986:
------------------------------
Component/s: Domain Management
JCA
(was: CLI)
> cli batch incorrect handling of the enabled attribute during datasource creation
> --------------------------------------------------------------------------------
>
> Key: WFLY-2986
> URL: https://issues.jboss.org/browse/WFLY-2986
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management, JCA
> Affects Versions: 8.0.0.Final
> Environment: win 7 pro sp2
> wildfly 8.0.0.Final
> Reporter: Gabriele Garuglieri
> Assignee: Alexey Loubyansky
>
> case:
> /subsystem=datasources/data-source=xxxxxx:add(....) (without declaring enabled attribute)
> the ds is created with enabled=true, consistent with xsd default, but after WFLY-86 shouldn't it default to false when omitted ?
> /subsystem=datasources/data-source=xxxxxx:add(...., enabled=true)
> the ds is created with enabled=true as requested
> but in both cases the operation
> /subsystem=datasources/data-source=xxxxxx:disable
> WITHIN THE SAME BATCH is happily ignored, ie the final outcome is success but the state of the created ds is still enabled.
> The opposite instead works, adding the ds with enabled=false produces a disabled ds and adding
> /subsystem=datasources/data-source=xxxxxx:enable
> within the same batch, produces an enabled ds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list