l3pp4rd/DoctrineExtensions — Issue #276:  php app/console doctrine:mapping:import thrown ErrorException
Author: yoander
Created: 2012-02-28 14:11:03+00:00
State: open

if you have enabled DoctrineExtension and you want to generate entities from an existing database executing:
php app/console doctrine:mapping:import BundleName thrown this

[ErrorException]
Warning: class_parents(): Class "CLASS_NAME" does not exist and could not be loaded in Gedmo/Mapping/ExtensionMetadataFactory.php line 80

A work around this is: Disable the extension, do doctrine:mapping:import and later enable the extension But I think the extension is improved with this issue solved.