[
https://issues.jboss.org/browse/WFCORE-877?page=com.atlassian.jira.plugin...
]
Marek Kopecký moved JBEAP-671 to WFCORE-877:
--------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-877 (was: JBEAP-671)
Workflow: GIT Pull Request workflow (was: CDW v1)
Affects Version/s: (was: EAP 7.0.0.DR8)
Component/s: CLI
(was: CLI)
Target Release: (was: EAP 7.0.0.GA)
Redirection (<, <<) do not work in CLI
--------------------------------------
Key: WFCORE-877
URL:
https://issues.jboss.org/browse/WFCORE-877
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Marek Kopecký
Assignee: Alexey Loubyansky
Priority: Blocker
*Description of problem:*
Redirection (<, <<) do not work in CLI
*How reproducible:*
Always
*Steps to Reproduce:*
# echo ":shutdown" > c
# ./jboss-cli.sh -c < c
*Actual results:*
You are disconnected at the moment. Type 'connect' to connect to the server or
'help' for the list of supported commands.
*Expected results:*
":shutdown" command will be executed
*Another steps to reproduce:*
# cd bin
# ./standalone.sh &
# ./jboss-cli.sh -c
command=/core-service=management/security-realm=ApplicationRealm/authentication=local:remove
# ./jboss-cli.sh -c
command=/core-service=management/security-realm=ManagementRealm/authentication=local:remove
# ./jboss-cli.sh -c command=:shutdown
# cd ..
# echo "bob=81ce18184f7b1095a367d5fae624ac15" >>
standalone/configuration/mgmt-users.properties
# ./bin/standalone.sh &
# {noformat}./bin/jboss-cli.sh -c <<EOF
bob
admin123$
batch
:shutdown
run-batch
EOF{noformat}
*Actual results:*
Unexpected command 'bob'. Type 'help --commands' for the list of
supported commands.
*Expected results:*
":shutdown" command will be executed
*Additional info:*
Regression against 6.4.0
Regression against 7.0.0.DR7
Bugzilla from 6x
*
https://bugzilla.redhat.com/show_bug.cgi?id=961425
Customer cases (EAP 6x):
*
https://access.redhat.com/support/cases/#/case/00904577
*
https://access.redhat.com/support/cases/#/case/00889193
*
https://access.redhat.com/support/cases/#/case/00910827
*
https://access.redhat.com/support/cases/#/case/00910848
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)