mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-985: [PATCH] Fix attempt to get column by class property name #1229
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 (Jan 13, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user dmdeller:
PULL REQUEST: https://github.com/doctrine/doctrine2/pull/27
After upgrading from a Doctrine 2.0 RC to final version, I noticed a failure when using doctrine orm:schema:create:
[Doctrine\DBAL\Schema\SchemaException]
There is no column with name '_id' on table 'subuser'.
Since this worked before the upgrade, I investigated and found a new line of code that was attempting to get a column using the class identifier property name (_id) rather than the mapped column name (user_id). Please see patch.
@doctrinebot commented on GitHub (Jan 23, 2011):
Comment created by @beberlei:
This is a duplicate of a previous issue and is fixed in master.
@doctrinebot commented on GitHub (Jan 23, 2011):
Issue was closed with resolution "Duplicate"