Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1651

APC query caching fails when an entity is bound to a query parameter.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.2.1
    • Component/s: DQL, ORM
    • Labels:
      None
    • Environment:
      Debian, Php 5.3, APC 3.1.9

      Description

      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.

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Jonathan Robinson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: