[jboss-jira] [JBoss JIRA] Commented: (JBAS-9140) Incorrect value for boolean parameter

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Sun Mar 27 12:17:37 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592006#comment-12592006 ] 

Alexey Loubyansky commented on JBAS-9140:
-----------------------------------------

It's in org.jboss.as.cli.operation.impl.DefaultOperationRequestBuilder.addProperty(...).
As you can see the default is ModelNode.fromString(value) and in case of exception new ModelNode().set(value).
I'll look into that.


> Incorrect value for boolean parameter
> -------------------------------------
>
>                 Key: JBAS-9140
>                 URL: https://issues.jboss.org/browse/JBAS-9140
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: CLI
>            Reporter: Brian Stansberry
>            Assignee: Alexey Loubyansky
>
> With the latest from master, this operation:
> /socket-binding-group=standard-sockets/socket-binding=http:write-attribute(name=fixed-port,value=true)
> results in this operation on the server (incorrect value):
> {
>     "operation" => "write-attribute",
>     "name" => "fixed-port",
>     "value" => false,
>     "address" => [
>         ("socket-binding-group" => "standard-sockets"),
>         ("socket-binding" => "http")
>     ]
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list