neo4j/community — Issue #204: BUG: Gremlin commands ignored
Author: johnnywengluu
Created: 2012-01-28 06:22:30+00:00
State: open

For some weird reason I can't run anything on Gremlin shell after I have done some remote Gremlin operations using HTTP gremlin plugin.

Eg.

In Gremlin shell:

gremlin> g.clear()
==>
gremlin> g.addVertex([name:'foo']); g.V.name
==> foo

That one shows everything works.

Now in HTTP shell:

http> POST /db/data/ext/GremlinPlugin/graphdb/execute_script {"script": "g.clear()"}
==> 200 OK
==> "null"

And switch back to Gremlin shell:

gremlin> g.addVertex([name:'foo']); g.V.name
undefined

Something is clearly wrong here.

Seems like a bug.

Original post: https://groups.google.com/forum/#!searchin/neo4j/undefined/neo4j/LdvnSV_8VfQ/ro9HRFjwTqAJ