Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-204

Handling of explicit Schemas is wrong in comparator

    Details

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

      Description

      if you are on db "foo" and compare table "bar" to "foo.bar". it shouldnt drop one and create the other one. They are the same!

        Activity

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

        Fixed.

        This includes facilities to filter schema assets when creating from a SchemaManager:

        $connection->getConfiguration()->setFilterSchemaAssetsExpression("foo\.bar");
        

        Additionally in the ORM now when using a database vendor that does not support schemas the "namespaced" assets are removed.

        Say you are connected to database "foo" and you have an entity defined as @Table("bar.baz"), then all SQL generated for that entity will be removed.

        Show
        Benjamin Eberlei added a comment - Fixed. This includes facilities to filter schema assets when creating from a SchemaManager: $connection->getConfiguration()->setFilterSchemaAssetsExpression( "foo\.bar" ); Additionally in the ORM now when using a database vendor that does not support schemas the "namespaced" assets are removed. Say you are connected to database "foo" and you have an entity defined as @Table("bar.baz"), then all SQL generated for that entity will be removed.
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2 [ 10142 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13372 ] jira-feedback2 [ 17781 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17781 ] jira-feedback3 [ 20136 ]

        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-204, 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:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: