#1341: Problem with relations & column aliases
------------------------------+---------------------------------------------
Reporter: ishtanzar | Owner: romanb
Type: defect | Status: closed
Priority: minor | Milestone: 1.0.4
Component: Query/Hydration | Version: 1.0.0
Resolution: fixed | Keywords: relation, alias, column
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by jwage):
The local/foreign should be the alias. The SQL now generated will now make
sure it generates the column name and not the field name. The problem was
that if you specify the column name, it will try and update the object
with that column name and throw an exception. It will also error if you
specify the field name because it would try and include that field name in
the generated sql. So, now we just need to make sure that in all places
where sql is generated, the local and foreign are converted to the column
name.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1341#comment:10>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---