[jboss-jira] [JBoss JIRA] (WFCORE-933) Embedded server start commands are lacking argument validation

Brian Stansberry (JIRA) issues at jboss.org
Fri Aug 28 18:24:05 EDT 2015


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

Brian Stansberry commented on WFCORE-933:
-----------------------------------------

I put some logic in there for that, but it was cut-and-paste from somewhere else and obviously wasn't done right.

> Embedded server start commands are lacking argument validation
> --------------------------------------------------------------
>
>                 Key: WFCORE-933
>                 URL: https://issues.jboss.org/browse/WFCORE-933
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Domain Management
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Petr Kremensky
>            Assignee: Ken Wills
>            Priority: Minor
>
> Commands for starting embedded instances are lacking argument validation.
> {noformat}[disconnected /] embed-server foo
> [standalone at embedded /]
> [disconnected /] embed-server foo -foo
> [standalone at embedded /]
> [disconnected /] embed-server foo --foo
> [standalone at embedded /]
> [standalone at embedded /] stop-embedded-server foo
> The command accepts 0 unnamed argument(s) but received: [foo]
> [standalone at embedded /] stop-embedded-server -foo
> Unrecognized arguments: [-foo]
> [standalone at embedded /] stop-embedded-server --foo
> Unrecognized arguments: [--foo]{noformat}
> Same case for embedded host controller.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list