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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.7
    • Fix Version/s: 3.2.8, 3.3.2
    • Component/s: dotnet
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: