Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: None
    • Security Level: All
    • Labels:
      None
    • Environment:
      PDO_MySql

      Description

      i have this error in version 2.3.0-RC1

      in DBAL/STatement.php on aound line 191 you will find:

      public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)

      { return $this->stmt->setFetchMode($fetchMode, $arg2, $arg3); }

      the problem is that php throws me a Exception:
      Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: fetch mode doesn't allow any extra arguments'

      the reason for the exception is that setFetchMode doesnt support null as second/third argument.

      somebody also described it in the php issue tracker:
      https://bugs.php.net/bug.php?id=54545

        Activity

        tim glabisch created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Project Doctrine 2 - ORM [ 10032 ] Doctrine DBAL [ 10040 ]
        Key DDC-2010 DBAL-339
        Affects Version/s 2.3 [ 10184 ]
        Affects Version/s 2.3 [ 10185 ]
        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed
        Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3 [ 10184 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-339, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            tim glabisch
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: