[infinispan-issues] [JBoss JIRA] (ISPN-10127) Error "mismatched input" in JDG CLI when trying to run site command with a hyphen in site's name
Tristan Tarrant (Jira)
issues at jboss.org
Tue May 21 07:17:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-10127:
-----------------------------------
Status: Pull Request Sent (was: Reopened)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6843, https://github.com/infinispan/infinispan/pull/6844, https://github.com/infinispan/infinispan/pull/6944 (was: https://github.com/infinispan/infinispan/pull/6843, https://github.com/infinispan/infinispan/pull/6844)
> Error "mismatched input" in JDG CLI when trying to run site command with a hyphen in site's name
> ------------------------------------------------------------------------------------------------
>
> Key: ISPN-10127
> URL: https://issues.jboss.org/browse/ISPN-10127
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Environment: JDG 7.1.2 GA
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.14.Final
>
>
> An error message is returned when trying to get status of a site in JDG CLI, possibly because the site name has a hyphen character on it.
> The following example of the site command being executed in CLI shows the response I've got, trying to execute in different ways:
> {code:borderStyle=solid}
> [standalone at localhost:9990 distributed-cache=default] site --status site-01
> line 1:14 mismatched input 'site' expecting set null
> line 1:20 mismatched input '1' expecting set null
> [standalone at localhost:9990 distributed-cache=default] site --status 'site-01'
> Incorrect site name: 'site-01'
> [standalone at localhost:9990 distributed-cache=default] site --status "site-01"
> Incorrect site name: "site-01"
> [standalone at localhost:9990 distributed-cache=default] site --status {site-01}
> line 1:14 mismatched input '{' expecting set null
> line 1:21 mismatched input '1' expecting set null
> [standalone at localhost:9990 distributed-cache=default] site --status "{site-01}"
> Incorrect site name: "{site-01}"
> {code}
> However, if I try to execute the following command with a site name without the hyphen character in it's value, everything works as expected:
> {code:borderStyle=solid}
> [standalone at localhost:9990 distributed-cache=default] site --status SFO
> online
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list