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
php app/console doctrine:mapping:import thrown ErrorException #276
Comments
do you use latest version of extensions? |
Yes, Now I tested with:
Here the exception:php app/console doctrine:mapping:import AcmeDemoBundle annotation [ErrorException] doctrine:mapping:import [--em[="..."]] [--filter="..."] [--force] bundle [mapping-type] This is my config: imports: ... Doctrine Configurationdoctrine:
parameters.ini[parameters]
If I disable teh extension the mapping:import work ok. |
well then, it needs to be fixed, thanks for the input |
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.
The text was updated successfully, but these errors were encountered: