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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Mar 29 19:54:38 EDT 2011


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

Brian Stansberry commented on JBAS-9140:
----------------------------------------

Thanks for looking at this. I submitted https://github.com/bstansberry/jboss-dmr/commit/43c66969995112b53eb329ebd6a57567a131c94d for review -- based on the simpler looking of your two patches ;) since I'm no expert on this either but it provides the same semantic as what's their now. The unit test I added caught a bug in the long handling as well.

> 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
>         Attachments: diff.log, diff2.log
>
>
> 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