1
0
mirror of synced 2024-12-05 03:06:05 +03:00
doctrine2/lib/Doctrine/ORM
Bill Schaller 4b10db3a43 Fix crashes in ConvertMappingCommand and GenerateEntitiesCommand when using entities with joined table inheritance
ConvertMappingCommand and GenerateEntitiesCommand both use the DisconnectedClassMetadataFactory, which allows metadata manipulation without loading the associated classes. Commit a36bea broke these two commands by adding a bailout condition in ClassMetadataFactory::populateDiscriminatorValue which checks $metadata->reflClass->isAbstract(). If the DisconnectedClassMetadataFactory is being used, $metadata->reflClass will always be null, causing a fatal error, "Fatal error: Call to a member function isAbstract() on null".

This commit adds a check to see if $metadata->reflClass is set before checking isAbstract.
2015-03-20 13:59:27 -04:00
..
Cache Handling composite keys on non cache-able entities 2015-02-20 10:00:36 +01:00
Decorator make lock mode usage consistent 2014-02-05 15:13:53 +01:00
Event #1209 DDC-3427 - removing leftover EntityManager hints (using interface instead) 2015-01-16 14:44:31 +01:00
Id #1176 DDC-3378 - minor CS fixes (imports, spacing, IDE hints) 2015-01-22 12:11:03 +01:00
Internal Changed some wrong usage of the @internal phpdoc 2015-03-15 16:53:34 +01:00
Mapping Fix crashes in ConvertMappingCommand and GenerateEntitiesCommand when using entities with joined table inheritance 2015-03-20 13:59:27 -04:00
Persisters Changed some wrong usage of the @internal phpdoc 2015-03-15 16:53:34 +01:00
Proxy DDC-3427 - s/EntityManager/EntityManagerInterface in type-hints 2015-01-16 14:21:30 +01:00
Query Allow DateTimeInterface as parameter value 2015-03-17 20:58:20 +00:00
Repository #1159 - protecting Doctrine\ORM\Repository\DefaultRepositoryFactory API by making it final and its protected members private 2014-10-14 01:46:50 +02:00
Tools Properly generate default value from yml & xml mapping 2015-03-17 22:47:11 +00:00
Utility #1113 - minor CS fixes (spacing/alignment) 2015-02-16 01:02:56 +00:00
AbstractQuery.php Fixed AbstractQuery::getParameter() documented return type 2015-03-17 15:53:09 +01:00
Cache.php DDC-3078 - constructor should never be interfaced 2014-04-17 15:16:56 -04:00
Configuration.php Changed some wrong usage of the @internal phpdoc 2015-03-15 16:53:34 +01:00
EntityManager.php Changed some wrong usage of the @internal phpdoc 2015-03-15 16:53:34 +01:00
EntityManagerInterface.php #1172 - adding @method annotation to simplify static introspection 2015-01-16 22:50:52 +01:00
EntityNotFoundException.php #1240 DDC-3479 - Basic coverage for EntityNotFoundException 2015-01-13 02:55:51 +01:00
EntityRepository.php Remove useless dependency 2014-05-15 18:22:56 +02:00
Events.php #385 #1181 DDC-3385 - fixing Events docblocks as per @deeky666's review 2015-01-13 21:15:34 +01:00
LazyCriteriaCollection.php Classify persisters into more granular namespaces. 2015-01-16 00:10:25 +01: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 Removed unnecessary is_object() check 2013-10-01 13:00:37 +02:00
ORMException.php Improved composite primary key support 2015-02-16 00:53:46 +00:00
ORMInvalidArgumentException.php #1228 DDC-3490 - Remove unused method 2015-01-18 01:05:53 +01:00
PersistentCollection.php Merge pull request #1274 from doctrine/persistent-collection-as-lazy-collection 2015-03-17 23:32:17 +00:00
PessimisticLockException.php Fix some LGPL occurances to MIT 2013-10-02 12:07:37 +02:00
Query.php added more informative error messages when invalid parameter count 2014-07-15 13:17:22 +01:00
QueryBuilder.php Merge pull request #1303 from mrkrstphr/querybuilder-get-all-aliases 2015-03-17 23:33:43 +00:00
README.markdown [2.0] Adding blank README files 2010-04-06 03:04:02 +00:00
TransactionRequiredException.php Fix some LGPL occurances to MIT 2013-10-02 12:07:37 +02:00
UnexpectedResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
UnitOfWork.php Update identityMap when entity gets managed again 2015-03-17 22:19:10 +00:00
Version.php Bumping version constants to 2.5.0-DEV 2015-03-18 22:38:42 +00:00