mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1651: APC query caching fails when an entity is bound to a query parameter. #2076
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 14, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user jonathanpete:
When an entity is bound as a query parameter, query caching with APC fails with error message:
Catchable fatal error: Object of class XXX could not be converted to string in /libs/doctrine-orm/Doctrine/DBAL/Connection.php on line 1081
If I bind with entity's primary key field, everything works fine.
@doctrinebot commented on GitHub (Feb 18, 2012):
Comment created by @beberlei:
Fixed and merged into 2.2 branch.
A rebase onto the 2.1.x branch would take a rewrite, since the code is completly new and since there is a simple workaround ($entity->getId()) when binding i will not backported it into the 2.1.x branch.
6cd82d77f5@doctrinebot commented on GitHub (Feb 18, 2012):
Issue was closed with resolution "Fixed"