Skip to content

Loading…

DBAL-219: wrong schema hadTable and getTable return when table name contains quote #1393

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user drealecs:

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

@doctrinebot

Comment created by @beberlei:

Fixed and merged into 2.2

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.2.2 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.