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

Ignore non-objects #1508

Closed

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Sep 14, 2015

PR #1419 introduced a BC break. Apparently some code rely on the ability to invoke PersistentCollection::set() with a null value.

This PR adds a simple check that makes add() and set() silently ignore non-object values.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

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

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

@guilhermeblanco
Copy link
Member

Closed in favor of #1545

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

Successfully merging this pull request may close these issues.

None yet

4 participants