Details

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

      Description

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

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

      Message:

      Hotfix for DBAL-522(http://www.doctrine-project.org/jira/browse/DBAL-522)

      Demonstrates that NULL parameters are handled incorrectly by `Doctrine\DBAL\SqlParserUtils` as of 2.3.4.

      Basically, following usage always throws an exception:

      $conn->executeQuery(
          'INSERT INTO FOO (foo, bar) values (:foo, :bar)', 
          array('foo' => 1, 'bar' => null)
      );
      

        Activity

        Doctrine Bot created issue -
        Marco Pivetta made changes -
        Field Original Value New Value
        Description This issue is created automatically through a Github pull request on behalf of Ocramius:

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

        Message:

        Hotfix for [DBAL-522](http://www.doctrine-project.org/jira/browse/DBAL-522)

        Demonstrates that NULL parameters are handled incorrectly by `Doctrine\DBAL\SqlParserUtils` as of 2.3.4.

        Basically, following usage always throws an exception:

        ```php
        $conn->executeQuery(
            'INSERT INTO FOO (foo, bar) values (:foo, :bar)',
            array('foo' => 1, 'bar' => null)
        );
        ```
        This issue is created automatically through a Github pull request on behalf of Ocramius:

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

        Message:

        Hotfix for [DBAL-522](http://www.doctrine-project.org/jira/browse/DBAL-522)

        Demonstrates that NULL parameters are handled incorrectly by `Doctrine\DBAL\SqlParserUtils` as of 2.3.4.

        Basically, following usage always throws an exception:

        {code}
        $conn->executeQuery(
            'INSERT INTO FOO (foo, bar) values (:foo, :bar)',
            array('foo' => 1, 'bar' => null)
        );
        {code}
        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-322] was closed: https://github.com/doctrine/dbal/pull/322
        Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.4 [ 10421 ]
        Resolution Fixed [ 1 ]
        Hide
        Doctrine Bot added a comment -

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

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: