You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by okram <gi...@git.apache.org> on 2017/11/06 23:12:26 UTC

[GitHub] tinkerpop pull request #744: TINKERPOP-1802: hasId() fails for empty collect...

GitHub user okram opened a pull request:

    https://github.com/apache/tinkerpop/pull/744

    TINKERPOP-1802: hasId() fails for empty collections

    https://issues.apache.org/jira/browse/TINKERPOP-1802
    
    If `hasId([])` is specified, then an `ArrayOutOfBoundsException` occurs. This has been fixed by simply filtering out (`filter(true)` in essence) all vertices once a `hasId([])` is reached. cc/ @rjbriody 
    
    VOTE +1.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1802

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/744.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #744
    
----
commit 74ca03dea1a7db7b2af39f46020cf8a75a2ea5c4
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2017-11-06T21:36:22Z

    fixed a hasId([]) ArrayOutOfBoundsException bug that occurs in the rare situation where a user provides an empty collection of ids. Test cases developed by @dkuppitz.

----


---

[GitHub] tinkerpop issue #744: TINKERPOP-1802: hasId() fails for empty collections

Posted by robertdale <gi...@git.apache.org>.
Github user robertdale commented on the issue:

    https://github.com/apache/tinkerpop/pull/744
  
    VOTE +1



---

[GitHub] tinkerpop issue #744: TINKERPOP-1802: hasId() fails for empty collections

Posted by dkuppitz <gi...@git.apache.org>.
Github user dkuppitz commented on the issue:

    https://github.com/apache/tinkerpop/pull/744
  
    VOTE: +1


---

[GitHub] tinkerpop issue #744: TINKERPOP-1802: hasId() fails for empty collections

Posted by okram <gi...@git.apache.org>.
Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/744
  
    ```
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 04:37 h
    [INFO] Finished at: 2017-11-06T21:46:16-07:00
    [INFO] Final Memory: 162M/1713M
    [INFO] ------------------------------------------------------------------------
    ```


---

[GitHub] tinkerpop pull request #744: TINKERPOP-1802: hasId() fails for empty collect...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/tinkerpop/pull/744


---