-
Bug
-
Resolution: Done
-
Major
-
JDG 7.1.2 GA
-
None
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:
[standalone@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@localhost:9990 distributed-cache=default] site --status 'site-01' Incorrect site name: 'site-01' [standalone@localhost:9990 distributed-cache=default] site --status "site-01" Incorrect site name: "site-01" [standalone@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@localhost:9990 distributed-cache=default] site --status "{site-01}" Incorrect site name: "{site-01}"
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:
[standalone@localhost:9990 distributed-cache=default] site --status SFO
online
- is cloned by
-
ISPN-10127 Error "mismatched input" in JDG CLI when trying to run site command with a hyphen in site's name
- Closed