You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/11/21 00:27:11 UTC

[jira] [Commented] (TINKERPOP3-984) Script1.groovy: 1: unexpected char: '#' @ line 1, column 5. g.V(#11:0).next()

    [ https://issues.apache.org/jira/browse/TINKERPOP3-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15019044#comment-15019044 ] 

Marko A. Rodriguez commented on TINKERPOP3-984:
-----------------------------------------------

{{#11:0}} is not a legal term. You probably need to do something like {{g.V(ID.of(#11:0))}}. I assume you are using OrientDB. Review their docs on how they recommend constructing the respective Java object for {{#11:0}}.

> Script1.groovy: 1: unexpected char: '#' @ line 1, column 5.    g.V(#11:0).next()
> --------------------------------------------------------------------------------
>
>                 Key: TINKERPOP3-984
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-984
>             Project: TinkerPop 3
>          Issue Type: Improvement
>            Reporter: Marvin Froeder
>
> Groovy related tests rely on ID.toString(), which can cause problems with any implementation that uses non-primitive ids:
> {code}
> Script1.groovy: 1: unexpected char: '#' @ line 1, column 5.
>    g.V(#11:0).next()
> {code}



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