[jboss-jira] [JBoss JIRA] (WFCORE-2599) CLI complex object completer issues
Jean-Francois Denise (JIRA)
issues at jboss.org
Mon Apr 10 13:28:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Francois Denise updated WFCORE-2599:
-----------------------------------------
Description:
When a Complex Object property is ruled by filesystem or capability metadata, when the value to complete is already complete (full file name, full capability name), the completer miss behave.
In this case, the completer doesn't propose the "," or "}" character that allows to continue Object completion.
Another case of invalid completion for complex type:
For example:
/subsystem=logging/logger=xxx:add(filter={any={level=ALL}<TAB>
The Parser will parse internally that onto:
/subsystem=logging/logger=xxx:add(filter={any={level=ALL}*}*
That makes the value-type completer to consider that the filter property is terminated and will propose content in a wrong context. By chance, tha tis not visible because it falls in a case where ',' is proposed. So the problem is hidden.
It is visible with the computed visibility and deployment:
/deployment=xxx:add(content=[{bytes=bytes{0x45}<TAB> ==> must propose /deployment=xxx:add(content=[{bytes=bytes{0x45}*}*
was:
When a Complex Object property is ruled by filesystem or capability metadata, when the value to complete is already complete (full file name, full capability name), the completer miss behave.
In this case, the completer doesn't propose the "," or "}" character that allows to continue Object completion.
> CLI complex object completer issues
> -----------------------------------
>
> Key: WFCORE-2599
> URL: https://issues.jboss.org/browse/WFCORE-2599
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Jean-Francois Denise
> Assignee: Jean-Francois Denise
> Priority: Minor
>
> When a Complex Object property is ruled by filesystem or capability metadata, when the value to complete is already complete (full file name, full capability name), the completer miss behave.
> In this case, the completer doesn't propose the "," or "}" character that allows to continue Object completion.
> Another case of invalid completion for complex type:
> For example:
> /subsystem=logging/logger=xxx:add(filter={any={level=ALL}<TAB>
> The Parser will parse internally that onto:
> /subsystem=logging/logger=xxx:add(filter={any={level=ALL}*}*
> That makes the value-type completer to consider that the filter property is terminated and will propose content in a wrong context. By chance, tha tis not visible because it falls in a case where ',' is proposed. So the problem is hidden.
> It is visible with the computed visibility and deployment:
> /deployment=xxx:add(content=[{bytes=bytes{0x45}<TAB> ==> must propose /deployment=xxx:add(content=[{bytes=bytes{0x45}*}*
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list