Bug #5921

Equals (Query) ignore the propertyName in a comparison with objects.

Added by Tommy Seus over 5 years ago. Updated about 4 years ago.

Status:Closed Start date:2010-01-07
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-

Description

Hello, I think the "propertyName" is ignored when comparing with objects (query, equals).
PostRepository:
works: $query->matching($query->equals('blog', $blog))
works too: $query->matching($query->equals('nothing', $blog))

I suspect that will return all objects that have a reference to the object of comparison. The propertyname is ignored.
I noticed the mistake because I have 2 properties in which the comparison object can be saved. I would now like to get back all the objects that reference the object at a particular property.

History

#1 Updated by Karsten Dambekalns over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF