[jboss-jira] [JBoss JIRA] (WFLY-2986) cli batch incorrect handling of the enabled attribute during datasource creation
Stefano Maestri (JIRA)
issues at jboss.org
Thu Dec 4 17:36:39 EST 2014
[ https://issues.jboss.org/browse/WFLY-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025328#comment-13025328 ]
Stefano Maestri commented on WFLY-2986:
---------------------------------------
default during cli creation changed again after WFLY-1900 and it's consistent w/ xsd. Looking into the rest of the issue.
> 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
> Components: Domain Management, JCA
> Affects Versions: 8.0.0.Final
> Environment: win 7 pro sp2
> wildfly 8.0.0.Final
> Reporter: Gabriele Garuglieri
> Assignee: Stefano Maestri
>
> 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 was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list