You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Cole Greer (Jira)" <ji...@apache.org> on 2024/01/23 19:10:00 UTC

[jira] [Updated] (TINKERPOP-3012) Wrong hashCode implementation for DetachedVertexPropert

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

Cole Greer updated TINKERPOP-3012:
----------------------------------
    Fix Version/s: 3.7.2

> Wrong hashCode implementation for DetachedVertexPropert
> -------------------------------------------------------
>
>                 Key: TINKERPOP-3012
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3012
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.7.0
>            Reporter: Emanuele Tagliaferri
>            Priority: Major
>             Fix For: 3.7.2
>
>         Attachments: detached_vertex_property_hashcode.patch
>
>
> Hi,
> I was trying to update OrientDB to TinkerPop 3.7.0, and I got some test failing, with some debugging I noticed that the `DetachedVertexProperty`  implement equals for the property, but inherit the hashCode from `DetachedElement` that it does not behave as a property but as an element. It may be there also other `VertextProperty` that do not implement correctly the hashCode.
> Adding a simple example patch in attachment.
> here is the branch I'm working on for the update https://github.com/orientechnologies/orientdb-gremlin/tree/WIP_update_deps I do have additional tests failing to check



--
This message was sent by Atlassian Jira
(v8.20.10#820010)