[
https://issues.jboss.org/browse/WFCORE-3566?page=com.atlassian.jira.plugi...
]
Marek Kopecký commented on WFCORE-3566:
---------------------------------------
Warning message should be similar in both cases and this warning message should be
user-friendly.
Anyway, this is not regression against EAP 7.1.
*Experiments for EAP 7.1:*
Domain:
{noformat}
[domain@localhost:9990 /] deployment deploy-file --server-groups=main-server-group
~/erase15/app01.war
Unexpected command 'deployment deploy-file --server-groups=main-server-group
~/erase15/app01.war'. Type 'help --commands' for the list of supported
commands.
[domain@localhost:9990 /] deploy ~/erase15/app01.war --server-groups=main-server-group
[domain@localhost:9990 /] undeploy app01.war --keep-content
--server-groups=main-server-group
[domain@localhost:9990 /] undeploy app01.war --keep-content
--server-groups=main-server-group
[domain@localhost:9990 /]
{noformat}
Standalone:
{noformat}
[standalone@localhost:9990 /] deploy ~/erase15/app01.war
[standalone@localhost:9990 /] undeploy app01.war --keep-content
[standalone@localhost:9990 /] undeploy app01.war --keep-content
Undeploy failed: WFLYCTL0155: 'steps' may not be null
[standalone@localhost:9990 /]
{noformat}
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: Jean-Francois Denise
*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)