We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
when i use the rest api with gremlin orientdb cannot convert a Vertex to Json.
Thanks Marcel
I would expect a correct path
And errormessage:
java.lang.UnsupportedOperationException: Cannot convert v[#12:0] - class org.apache.tinkerpop.gremlin.orientdb.OrientVertex to JSON
curl -s -XPOST https://<domain>/command/<database>/gremlin -d '{"command": "g.V().has(\"key\",\"123\").out().values(\"names\").path()"}' | jq '.' { "errors": [ { "reason": 501, "code": 501, "content": "java.lang.UnsupportedOperationException: Cannot convert v[#12:0] - class org.apache.tinkerpop.gremlin.orientdb.OrientVertex to JSON" } ] }
curl -s -XPOST https://<domain>/command/<database>/gremlin -d '{"command": "g.V().has(\"key\",\"123\").out().out().values(\"names\").tree().sideEffect(System.out.&println)"}' | jq '.' { "errors": [ { "reason": 501, "code": 501, "content": "java.lang.UnsupportedOperationException: Cannot convert v[#12:0] - class org.apache.tinkerpop.gremlin.orientdb.OrientVertex to JSON" } ] }
The text was updated successfully, but these errors were encountered:
Fixed orientechnologies/orientdb#8327
21ec0db
Hi @marcelalburg
i've just pushed a fix. It will be available in 3.0.3.
Thanks
Sorry, something went wrong.
path
wolf4ood
No branches or pull requests
OrientDB Version: 3.0.2 tinkerpop
Java Version: 8
OS: Linux debian
Hello,
when i use the rest api with gremlin orientdb cannot convert a Vertex to Json.
Thanks
Marcel
Expected behavior
I would expect a correct path
Actual behavior
And errormessage:
java.lang.UnsupportedOperationException: Cannot convert v[#12:0] - class org.apache.tinkerpop.gremlin.orientdb.OrientVertex to JSON
Steps to reproduce
The text was updated successfully, but these errors were encountered: