[
https://issues.jboss.org/browse/WFCORE-3566?page=com.atlassian.jira.plugi...
]
Jean-Francois Denise commented on WFCORE-3566:
----------------------------------------------
[~mstefank], you should ask [~vmarek] for the tests he developed to cover this case.
Different results of disabling commands already disabled deployment
-------------------------------------------------------------------
Key: WFCORE-3566
URL:
https://issues.jboss.org/browse/WFCORE-3566
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Vratislav Marek
Assignee: Martin Stefanko
*Different command result of disabling already disabled deployment in standalone and
domain mode*
* In standalone return
{noformat}
WFLYCTL0155: 'steps' may not be null
{noformat}
* In domain return nothing, no warning or error
{noformat}
[standalone@localhost:9990 /] deployment info
NAME RUNTIME-NAME PERSISTENT ENABLED STATUS
cli-test-another-deploy.war cli-test-another-deploy.war true true OK
cli-test-app1-deploy.war cli-test-app1-deploy.war true false STOPPED
cli-test-app2-deploy.war cli-test-app2-deploy.war true true OK
[standalone@localhost:9990 /] deployment disable cli-test-app1-deploy-all.war
WFLYCTL0155: 'steps' may not be null
[standalone@localhost:9990 /]
{noformat}
{noformat}
[domain@localhost:9990 /] deployment info --server-groups=main-server-group
NAME RUNTIME-NAME STATE
cli-test-another-deploy-all.war cli-test-another-deploy-all.war enabled
cli-test-app1-deploy-all.war cli-test-app1-deploy-all.war added
cli-test-app2-deploy-all.war cli-test-app2-deploy-all.war not added
cli-test-app3-deploy-all.war cli-test-app3-deploy-all.war enabled
[domain@localhost:9990 /] deployment disable --server-groups=main-server-group
cli-test-app1-deploy-all.war
[domain@localhost:9990 /]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)