[DDC-985] [PATCH] Fix attempt to get column by class property name Created: 13/Jan/11  Updated: 23/Jan/11  Resolved: 23/Jan/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: Tools
Affects Version/s: Git Master
Fix Version/s: Git Master
Security Level: All

Type: Bug Priority: Major
Reporter: David Deller Assignee: Benjamin Eberlei
Resolution: Duplicate Votes: 0
Labels: None


 Description   

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.



 Comments   
Comment by Benjamin Eberlei [ 23/Jan/11 ]

This is a duplicate of a previous issue and is fixed in master.

Generated at Thu Oct 02 14:28:32 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.