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

Wrong hashCode implementation for DetachedVertexPropert

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 3.7.0
    • 3.7.2
    • process
    • None
    • Patch

    Description

      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

      Attachments

        Activity

          People

            valentyn Valentyn Kahamlyk
            tglman Ema Tag
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: