[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 | ||
| Description |
|
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. |
| Comments |
| Comment by Guilherme Blanco [ 17/Oct/11 ] |
|
Fixed in this commit https://github.com/doctrine/doctrine2/commit/22a04fd6de3ffa44cc3cd817d65cf112b1df7b53 |