Merge pull request #1345 from zeroedin-bill/fix-crash-in-convertmapping-command
Fix crashes in ConvertMappingCommand and GenerateEntitiesCommand...
This commit is contained in:
commit
34168d7085
@ -311,6 +311,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
|
||||
if ($metadata->discriminatorValue
|
||||
|| ! $metadata->discriminatorMap
|
||||
|| $metadata->isMappedSuperclass
|
||||
|| ! $metadata->reflClass
|
||||
|| $metadata->reflClass->isAbstract()
|
||||
) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user