1
0
mirror of synced 2024-12-13 06:46:03 +03:00
doctrine2/lib/Doctrine/ORM
Stefan Kleff 151192ae37 The EntityManager was not injected in uninitialized proxys which are ObjectManagerAware.
I ran into that problem while I had two objects in the identitymap while hydrating a collection: one was new a "real" entity and the other one was an uninitialized proxy. For "real" entities the em is injected in line 2427, for new entities it is injected in 2436->2364, but for proxies this is missing. According to the comment "inject ObjectManager into just loaded proxies." the code in line 2427 should do this, but in fact it is just used if it is a "real" entity or an already initialized proxy. Moving the injection to outside of the condition in line 2411 (if the entity is an unitialized proxy) solves this.
2013-01-10 14:54:52 +01:00
..
Event use base events 2012-12-24 10:15:25 +01:00
Id Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
Internal Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
Mapping Merge pull request #528 from BenMorel/master 2012-12-23 12:22:09 -08:00
Persisters [DDC-2175] Fix bug in JoinedSubclassPersister 2012-12-24 10:39:23 +01:00
Proxy DDC-1698 - Allow autoload registration from a Configuration instance 2013-01-06 11:07:19 +01:00
Query Merge pull request #538 from FabioBatSilva/identity-composite-key 2012-12-24 01:19:05 -08:00
Tools Merge pull request #528 from BenMorel/master 2012-12-23 12:22:09 -08:00
AbstractQuery.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
Configuration.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
EntityManager.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
EntityNotFoundException.php Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
EntityRepository.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
Events.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NativeQuery.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NonUniqueResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NoResultException.php Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
OptimisticLockException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
ORMException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
ORMInvalidArgumentException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
PersistentCollection.php Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
PessimisticLockException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
Query.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
QueryBuilder.php DDC-2192 - Prevent using append flag in case of where and having to avoid user confusion, because this is not allowed. 2013-01-06 10:33:57 +01:00
README.markdown [2.0] Adding blank README files 2010-04-06 03:04:02 +00:00
TransactionRequiredException.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00
UnexpectedResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
UnitOfWork.php The EntityManager was not injected in uninitialized proxys which are ObjectManagerAware. 2013-01-10 14:54:52 +01:00
Version.php Documentation (docblock) fixes. 2012-12-01 16:28:06 +00:00