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

[2.4] #1169 DDC-3343 one-to-omany persister deletes only on EXTRA_LAZY plus orphanRemoval #1300

Conversation

Ocramius
Copy link
Member

@Ocramius Ocramius commented Feb 5, 2015

As per #1169 and DDC-3343 ( http://www.doctrine-project.org/jira/browse/DDC-3343 ), EXTRA_LAZY PersistentCollection#removeElement() calls should only affect the database if orphanRemoval=true is specified in the mappings.

Otherwise, being the one-to-many the inverse side, no action should be performed.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. However did not open it on the "master"
branch. Our Git workflow requires all pull requests to go through "master" branch
and the release masters then merge them back into stable branches, if they are
bug fixes.

Please open the pull request again for the "master" branch and close
this one.

Nevertheless I have opened a Jira ticket for this Pull Request to track this
issue:

http://www.doctrine-project.org/jira/browse/DDC-3560

We use Jira to track the state of pull requests and the versions they got
included in.

…tity persister to perform deletes on the owning side
@Ocramius
Copy link
Member Author

No complaints, therefore merging.

Ocramius added a commit that referenced this pull request Feb 16, 2015
…any-persister-deletes-only-on-extra-lazy-plus-orphan-removal-2.4

[2.4] #1169 DDC-3343 one-to-omany persister deletes only on EXTRA_LAZY plus orphanRemoval
@Ocramius Ocramius merged commit 18c8732 into doctrine:2.4 Feb 16, 2015
@Ocramius Ocramius deleted the hotfix/#1169-DDC-3343-one-to-many-persister-deletes-only-on-extra-lazy-plus-orphan-removal-2.4 branch February 16, 2015 00:29
@lcobucci lcobucci added this to the 2.4.8 milestone Dec 20, 2017
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