You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2018/03/19 14:57:00 UTC

[jira] [Closed] (TINKERPOP-1920) Tests fail because P.Within() arguments are wrapped in an array in Gremlin.Net

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

stephen mallette closed TINKERPOP-1920.
---------------------------------------
    Resolution: Fixed
      Assignee: stephen mallette

> Tests fail because P.Within() arguments are wrapped in an array in Gremlin.Net
> ------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1920
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1920
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: dotnet
>    Affects Versions: 3.2.7
>            Reporter: Florian Hockmann
>            Assignee: stephen mallette
>            Priority: Major
>             Fix For: 3.2.8, 3.3.2
>
>
> For the scenario {{g_V_hasIdXwithinXemptyXX_count}}, {{P.within([])}} will be serialized as:
> {code}
> {
>     "@type": "g:P",
>     "@value": {
>         "predicate": "within",
>         "value": [
>             []
>         ]
>     }
> }
> {code}
> which fails on the server side as it tries to treat {{[]}} as an id:
>  {{Expected an id that is convertible to Integer but received class java.util.ArrayList}}.
> This seems to be related to the changes made in [TINKERPOP-1874|https://issues.apache.org/jira/browse/TINKERPOP-1874].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)