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

        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
        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.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: