Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-219

wrong schema hadTable and getTable return when table name contains quote

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.2
    • Component/s: Schema Managers
    • Labels:
      None

      Description

      wrong schema hadTable and getTable return when table name contains quote.

      I bump into this when useing a ManyToMany replation and one Entity was named Group with tablename `Group`
      In RemoveNamespacedAssets the FK from The Join Table to Group was removed because in acceptForeignKey() $this->schema->hasTable($fkConstraint->getForeignTableName()) returned false

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed and merged into 2.2

        Show
        Benjamin Eberlei added a comment - Fixed and merged into 2.2

          People

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

            Dates

            • Created:
              Updated:
              Resolved: