mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3902: [GH-1508] Ignore non-objects #4774
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 14, 2015).
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of c960657:
Url: https://github.com/doctrine/doctrine2/pull/1508
Message:
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 commented on GitHub (Sep 14, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1508] was labeled:
https://github.com/doctrine/doctrine2/pull/1508
@doctrinebot commented on GitHub (Nov 6, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1508] was closed:
https://github.com/doctrine/doctrine2/pull/1508
@Majkl578 commented on GitHub (Sep 11, 2017):
Related PR #1508 closed and handled in #1545.