[
https://issues.redhat.com/browse/WFCORE-4916?page=com.atlassian.jira.plug...
]
Michal Petrov commented on WFCORE-4916:
---------------------------------------
What is considered the bug in this case? The bracket is a valid syntax, it lets you target
sub-attributes; .e.g. in this case you can do
{code}
/host=master/server-config=server-one/jvm=default:read-attribute(name=jvm-options[0])
{code}
or you can likewise write to a specific index in the list. The only problem I see here
that CLI makes no further suggestions after the bracket.
Unclear attribute name completion for LIST type
-----------------------------------------------
Key: WFCORE-4916
URL:
https://issues.redhat.com/browse/WFCORE-4916
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 12.0.0.Beta1
Reporter: Chao Wang
Assignee: Jean Francois Denise
Priority: Minor
Following discussion in WFCORE-4908. There is a completion of "[" for LIST type
attribute name after hitting tab, for example:
{code}
[domain@localhost:9990 /]
/host=master/server-config=server-one/jvm=default:write-attribute(name=jvm-options
{code}
added here
https://github.com/wildfly/wildfly-core/blob/12.0.0.Beta1/cli/src/main/ja...
It seems to me that misleads to the wrong syntax as described in WFCORE-4908.
{code}
[domain@localhost:9990 /]
/host=master/server-config=server-one/jvm=default:write-attribute(name=jvm-options[...
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)