Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-741

[GH-474] Fix foreign key columns order in Oracle

    Details

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

      Description

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

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

      Message:

      The order of columns in foreign key constraints is not synchronized by the Oracle platform.

      *Failing test:*
      ```bash
      Doctrine\Tests\DBAL\Functional\Schema\OracleSchemaManagerTest::testListForeignKeysComposite
      Failed asserting that two arrays are equal.
      — Expected
      +++ Actual
      @@ @@
      Array (

      • 0 => 'id'
      • 1 => 'foreign_key_test'
        + 0 => 'foreign_key_test'
        + 1 => 'id'
        )

      /home/deeky/dev/doctrine/dbal/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php:672
      ```

        Activity

        Doctrine Bot created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.5 [ 10520 ]
        Fix Version/s 2.5 [ 10523 ]
        Fix Version/s 2.4 [ 10320 ]
        Resolution Fixed [ 1 ]
        Guilherme Blanco made changes -
        Fix Version/s 2.3.5 [ 10520 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: