You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Francesco Animali (JIRA)" <ji...@apache.org> on 2016/02/26 11:27:18 UTC

[jira] [Created] (TINKERPOP-1178) A simple syntax error breaks the console (groovy console 2.4.5, gremlin console 3.1.1)

Francesco Animali created TINKERPOP-1178:
--------------------------------------------

             Summary: A simple syntax error breaks the console (groovy console 2.4.5, gremlin console 3.1.1)
                 Key: TINKERPOP-1178
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1178
             Project: TinkerPop
          Issue Type: Bug
          Components: console
    Affects Versions: 3.1.1-incubating
         Environment: ubuntu
            Reporter: Francesco Animali


This sequence of commands will break the console:

graph = TinkerGraph.open();
mum = graph.addVertex(T.label, "person", T.id, 1, "name", "mum")
g = graph.traversal(standard())
g.V.has('name','mum) <<<<<< SINGLE QUOTE MISSING. THIS WILL BREAK THE CONSOLE. NEXT THING YOU TRY TO DO:

gremlin> g.V
groovysh_parse: 2: expecting ''', found '\n' @ line 2, column 21.
   g.V.has('name','mum)
                       ^

1 error






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)