stof/StofDoctrineExtensionsBundle — Issue #100: [ErrorException] when try to generate entities
Author: nagno
Created: 2012-02-09 16:36:55+00:00
State: open

Hi,

I trying to create the Jobeet for Symfony2. I installed this extension like following the readme and modified the config a little bit.
stof_doctrine_extensions:
default_locale: en_US
orm:
default:
timestampable: true
sluggable: true

I created these mapping files: https://gist.github.com/1780934.

When I try to create the entities with app/console doctrine:generate:entities NagnoJobeetBundle, I got this exception:
[ErrorException]
Warning: class_parents(): Class Nagno\JobeetBundle\Entity\Affiliate does not exist and could not be loaded in /mnt/hgfs/workspace/symfony/vendor/gedmo-doctrine-extensions/lib/Gedmo/Mapping/ExtensionMetadataFactory.php line 80

As far as I know, this command should generate the entities. Why it is complains about it is missing?