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
..
2015-03-18 17:06:30 +01:00
2015-01-14 18:12:12 +01:00
2015-01-24 14:29:40 +01:00
2012-05-26 14:37:00 +02:00
2014-04-04 03:05:48 +02:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2013-12-16 11:05:05 -05:00
2012-12-03 09:36:08 +00:00
2012-07-04 20:59:22 +02:00
2015-03-20 13:59:27 -04:00
2015-03-18 17:06:30 +01:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2013-03-11 00:08:58 +00:00
2015-01-17 23:57:52 +01:00
2015-03-17 23:16:16 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2013-11-01 22:33:59 +01:00
2014-03-14 12:29:01 +01:00
2012-12-03 09:36:08 +00:00
2013-04-06 14:31:27 +00:00
2013-01-29 12:14:52 -02:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2014-07-22 10:32:31 +09:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2015-01-16 19:18:46 +01:00
2012-05-26 14:37:00 +02:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2015-01-18 00:11:47 +01:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2014-02-09 23:45:22 +00:00
2014-12-08 01:22:20 +01:00
2012-12-03 09:36:08 +00:00
2012-12-03 09:36:08 +00:00
2012-05-26 14:37:00 +02:00
2014-03-23 14:37:55 +01:00
2015-01-17 23:57:52 +01:00
2014-07-22 10:32:31 +09:00
2012-05-26 14:37:00 +02:00