mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-832: Not quoted class name when updating entity #1028
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Oct 7, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user needle:
When trying to update an entity which have a reserved name. Doctrine doesn't quoted its name.
On Doctrine\ORM\Persisters\BasicEntityPersister, _updateTable, $tableName is directly used to create the sql. We may use $this->_class->getQuotedTableName($this->_platform) instead ?
I'm going to propose a merge for that on github.
@doctrinebot commented on GitHub (Oct 7, 2010):
@doctrinebot commented on GitHub (Oct 8, 2010):
Comment created by needle:
Here is a test case
@doctrinebot commented on GitHub (Oct 30, 2010):
Comment created by @beberlei:
This issue partly depends on DBAL-57 (otherwise the testsuite keeps failing)
@doctrinebot commented on GitHub (Oct 30, 2010):
Comment created by @beberlei:
There is really no simple fix for this issue, your proposed one breaks joined table inheritance.
@doctrinebot commented on GitHub (Oct 30, 2010):
Comment created by @beberlei:
Found a way! fixed.
@doctrinebot commented on GitHub (Oct 30, 2010):
Issue was closed with resolution "Fixed"