Skip to content

One-to-one relations and field used as association key#155

Closed
goetas wants to merge 2 commits intodoctrine:masterfrom
goetas:association-key
Closed

One-to-one relations and field used as association key#155
goetas wants to merge 2 commits intodoctrine:masterfrom
goetas:association-key

Conversation

@goetas
Copy link
Member

@goetas goetas commented Oct 18, 2011

Right field population in one-to-one relations, if the field is used as association key.

If the associated entity has an association key, we cant use fieldNames metadata, but we have to use associationMappings metadata to identify the needed object.

@guilhermeblanco
Copy link
Member

@goetas I spent like 3h trying to reproduce the supposed issue you solved in the first commit without any luck.
Can you give me more information about how you reached that, maybe a test case?

@goetas
Copy link
Member Author

goetas commented Jan 16, 2012

currently i've jumped to another project... probably i will come to develop on this project in few weeks.

@asm89
Copy link
Member

asm89 commented Mar 11, 2012

@goetas Any updates on this? :)

@asm89
Copy link
Member

asm89 commented May 4, 2012

Any updates on this? The PR can't be merged at this moment, @guilhermeblanco wasn't able to reproduce the supposed issue and no further clarification was given. Next time I stop by I'll close the PR. :)

@goetas
Copy link
Member Author

goetas commented May 7, 2012

i'will re-open the PR when ready with tests

@goetas goetas closed this May 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants