[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


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:

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.

Comment by Benjamin Eberlei [ 23/Jan/11 ]

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

Generated at Fri Oct 09 23:39:11 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.