Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#6759 showstopper one-to-one inverse not being loaded with correct identifier restrictions when defining joinColumn #6760

Conversation

Ocramius
Copy link
Member

@Ocramius Ocramius commented Oct 7, 2017

Fixes #6759

@@ -802,13 +804,11 @@ public function loadOneToOneEntity(array $assoc, $sourceEntity, array $identifie

// unset the old value and set the new sql aliased value here. By definition
// unset($identifier[$targetKeyColumn] works here with how UnitOfWork::createEntity() calls this method.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment is out of date - there's no unset left.

Copy link
Member

@lcobucci lcobucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just this small thing

}

/**
* @group #6759
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the other test cases don't have the #, I'd remove it for consistency.

@lcobucci lcobucci merged commit f2dc9a8 into master Oct 8, 2017
@lcobucci
Copy link
Member

lcobucci commented Oct 8, 2017

@Ocramius 🚢

@lcobucci lcobucci deleted the fix/#6759-showstopper-one-to-one-inverse-not-being-loaded-with-correct-identifier-restrictions branch October 8, 2017 12:47
maglnet pushed a commit to maglnet/doctrine2 that referenced this pull request Oct 10, 2018
maglnet pushed a commit to maglnet/doctrine2 that referenced this pull request Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants