mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2285: Repeating the same query with different parameter value returns the same results #2871
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 8, 2013).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user mehdone:
Having the code above I am getting the same results for $inactiveAdsCustomers as I get for $activeAdsCustomers. And when I try hydrating the results everything works so fine.
Both queries look the same except the value provided for the "status" parameter.
@doctrinebot commented on GitHub (Feb 8, 2013):
Comment created by @ocramius:
You are hydrating joined and filtered resultsets. You should never do this, as this will hydrate an invalid association into your objects.
@doctrinebot commented on GitHub (Feb 8, 2013):
Issue was closed with resolution "Invalid"