Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-893

[GH-594] Fix driver exception conversion for newer SQLite versions

    Details

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

      Description

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

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

      Message:

      As of [PHP 5.5.11](http://www.php.net/ChangeLog-5.php#5.5.11) the internal `libsqlite` has been upgraded to version `3.8.3.1` which seems to change some of the driver exception messages for constraint violations and causes [Travis to fail](https://travis-ci.org/doctrine/dbal/jobs/24234077#L187).
      This PR now also matches strings to catch those appropriately.

        Activity

        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-594] was closed: https://github.com/doctrine/dbal/pull/594
        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/dbal/commit/bb0b46858795bcc2c9ccf1c2d67ac7951a8cee4e

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: