fix/hack for target-document #286

Merged
merged 2 commits into from May 26, 2013

Projects

None yet

1 participant

@dbu
Doctrine member

is this enough to fix http://www.doctrine-project.org/jira/browse/PHPCR-110 ? in the ticket i am worried about returning null but i saw no problem arising when i do what i do here.

@dbu
Doctrine member

i think this leads to the same situation as when the annotation is not specified, so it should be correct. i will check if we need the same for yml driver and then merge.

@dbu dbu merged commit 6ee1b95 into master May 26, 2013
@dbu dbu deleted the target-document-optional branch May 26, 2013
@dbu
Doctrine member

not 100% if yml mapping is all correct or if we miss some functional tests with yml mapping. but at the very least it will be less wrong now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment