Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading the Metadata for GoalioRememberMeDoctrineORM\Entity\RememberMe #3

Open
vadexito opened this issue Apr 30, 2013 · 1 comment

Comments

@vadexito
Copy link

there seems to be a problem because the onbootstrap of the GoalioRememberMeModuleORM (where an authenticate event is triggered) is called after the one of the GoalioRememberMe module (where the entity xml configuration for the entity GoalioRememberMeDoctrineORM\Entity\RememberMe is loaded : i have got this error :

Fatal error: Uncaught exception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'The class 'GoalioRememberMeDoctrineORM\Entity\RememberMe' was not found in the chain configured namespaces XXX' in X\vendor\doctrine\common\lib\Doctrine\Common\Persistence\Mapping\MappingException.php:38 Stack trace: #0 X\vendor\doctrine\common\lib\Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain.php(114): Doctrine\Common\Persistence\Mapping\MappingException::classNotFoundInNamespaces('GoalioRememberM...', Array) #1 X\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataFactory.php(113): Doctrine\Common\Persistence\Mappin in X\vendor\doctrine\common\lib\Doctrine\Common\Persistence\Mapping\MappingException.php on line 38

i solved the problem in uncommenting the line 'remember_me_entity_class' => 'GoalioRememberMe\Entity\RememberMe' in the goaliorememberme.global.php config...but I am not sure it is the best solution....

@pdobrigkeit
Copy link
Member

Will try to look into it. Thanks for the report.

@UFOMelkor UFOMelkor mentioned this issue Jul 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants