[jboss-jira] [JBoss JIRA] (WFCORE-4916) Unclear attribute name completion for LIST type

Jean Francois Denise (Jira) issues at jboss.org
Tue Jun 2 04:02:01 EDT 2020


    [ https://issues.redhat.com/browse/WFCORE-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129686#comment-14129686 ] 

Jean Francois Denise commented on WFCORE-4916:
----------------------------------------------

[~brian.stansberry], I agree, the completer should add the ','. This enhancement would be in line with the completer general behavior. It does it in some cases (eg: boolean with =false being set). Also, the character ')' is added when no more attributes can be set.

> 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 at 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/java/org/jboss/as/cli/impl/AttributeNamePathCompleter.java#L351-L355
> It seems to me that misleads to the wrong syntax as described in WFCORE-4908.
> {code}
> [domain at 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)


More information about the jboss-jira mailing list