Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of dasmfm:

      Url: https://github.com/doctrine/dbal/pull/296

      Message:

      In combination of PHP 5.4 and Doctrine 2 (upto 2.4Beta1) there's a bug with "boolean" type of field.
      Ref link:��http://stackoverflow.com/questions/10242312/pdo-bindvalue-with-pdoparam-bool-causes-statement-execute-to-fail-silently

      This patch binds int instead of bool and everything goes working fine.

        Activity

        Benjamin Eberlei created issue -
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-296] was closed:
        https://github.com/doctrine/dbal/pull/296

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-296] was closed: https://github.com/doctrine/dbal/pull/296
        Hide
        Benjamin Eberlei added a comment -

        Not fixing PHP bugs or adding workarounds.

        You need to pass an integer (1 or 0) instead of a boolean to make it working. This is how we do it in the ORM.

        Show
        Benjamin Eberlei added a comment - Not fixing PHP bugs or adding workarounds. You need to pass an integer (1 or 0) instead of a boolean to make it working. This is how we do it in the ORM.
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-296] was closed:
        https://github.com/doctrine/common/pull/296

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-296] was closed: https://github.com/doctrine/common/pull/296

        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-480, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: