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 2022/02/15 12:11:00 UTC

[jira] [Closed] (TINKERPOP-2661) GremlinGroovyScriptEngine handling of null arguments

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

Stephen Mallette closed TINKERPOP-2661.
---------------------------------------
    Fix Version/s: 3.6.0
         Assignee: Stephen Mallette
       Resolution: Done

> GremlinGroovyScriptEngine handling of null arguments
> ----------------------------------------------------
>
>                 Key: TINKERPOP-2661
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2661
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: groovy
>    Affects Versions: 3.5.1
>            Reporter: Stephen Mallette
>            Assignee: Stephen Mallette
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> {{GremlinGroovyScriptEngine}} sometimes doesn't handle {{null}} arguments terribly well given the overloads available to it. There are a number of exceptions in the GLV tests around this as seen in the various {{generate.groovy}} files. See if there is a way to improve this and to remove those exceptions in the GLVs. It's possible that using the {{gremlin-language}} might help us get rid of those exceptions, but that would still leave the {{GremlinGroovyScriptEngine}} suboptimal. Perhaps this is another reason to deprecate Groovy support.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)