Jira issue originally created by user twistedlogic:
* @ORM\ManyToOne(targetEntity="ClubBoardPost", inversedBy="children")
* @var ClubBoardPost
$criteria = Criteria::create()->where(Criteria::expr()->isNull('parent'));
Cannot match on Fubles\CoreBundle\Entity\ClubBoardPost::parent with a non-object value. Matching objects by id is not compatible with matching on an in-memory collection, which compares objects by reference.
@SqlExpressionVisitor:69 It seems like this check pretends that the value must be an object, maybe do you need to exclude NULL values only if association is nullable?
Comment created by @FabioBatSilva:
Fixed : f2f1d89
Issue was closed with resolution "Fixed"