Skip to content

ObjectPath equality check breaks due to changes MongoDB V3. [DATAMONGO-1204] #2121

Closed
@spring-projects-issues

Description

@spring-projects-issues

Thomas Darimont opened DATAMONGO-1204 and commented

The equality check for ObjectPathItem item id's in ObjectPath seems to break when used with MongoDB V3 due to contract changes of MongoDB's ObjectID.

From the referenced commit in the mongo-java-driver:
mongodb/mongo-java-driver@aa4b435
(ObjectId.)equals method will no longer compare equal to anything but an ObjectId


Affects: 1.7 GA (Fowler)

Reference URL: #288

Referenced from: pull request #334, and commits b31efb4, 1a1863a, b8cb2f7, be65970, d977817

Backported to: 1.8.2 (Gosling SR2), 1.7.3 (Fowler SR3)

Metadata

Metadata

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions