[ 
https://issues.apache.org/jira/browse/TINKERPOP-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette closed TINKERPOP-1178.
---------------------------------------
    Resolution: Not A Problem

This is expected behavior. If the buffer for the command gets messed up it 
can't recover on its own.  Just issue the {{:clear}} command to empty the 
buffer so you can retype your command.

> 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)

Reply via email to