Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1920

Tests fail because P.Within() arguments are wrapped in an array in Gremlin.Net

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.7
    • 3.2.8, 3.3.2
    • dotnet
    • None

    Description

      For the scenario g_V_hasIdXwithinXemptyXX_count, P.within([]) will be serialized as:

      {
          "@type": "g:P",
          "@value": {
              "predicate": "within",
              "value": [
                  []
              ]
          }
      }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              Florian Hockmann Florian Hockmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: