[jboss-jira] [JBoss JIRA] (WFLY-2986) cli batch incorrect handling of the enabled attribute during datasource creation

Gabriele Garuglieri (JIRA) issues at jboss.org
Fri Feb 21 04:57:48 EST 2014


Gabriele Garuglieri created WFLY-2986:
-----------------------------------------

             Summary: 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: CLI
    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