[DDC-1343] Github-PR-105 by domnikl: DDC-1278 - EntityManager::clear($entity) support Created: 21/Aug/11  Updated: 17/Oct/11  Resolved: 17/Oct/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.2
Security Level: All

Type: Improvement Priority: Major
Reporter: Benjamin Eberlei Assignee: Guilherme Blanco
Resolution: Fixed Votes: 0
Labels: None


domnikl created a pull request on Github:

Url: https://github.com/doctrine/doctrine2/pull/105

added cascade detach operation only for entites with the same name when $entityName on clear() was specified. I am still unsure where to put my tests for that.

Comment by Guilherme Blanco [ 17/Oct/11 ]

Fixed in this commit https://github.com/doctrine/doctrine2/commit/22a04fd6de3ffa44cc3cd817d65cf112b1df7b53

Generated at Wed Nov 25 22:36:28 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.