-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Symfony make entity command results in Exception #9669
Comments
Please provide a stack trace |
|
This should be reported to Symfony, and happens here: https://github.com/symfony/maker-bundle/blob/c5575532031eab8592ab6b1226e893b1a6b5bb0e/src/Doctrine/DoctrineHelper.php#L180-L187 It is caused by doctrine/persistence#246, but we cannot be held responsible by this as accessing protected properties through reflection is not really supposed to be supported. Also note the bug was revealed by something I'm probably going to have to revert in #9670 . So it might vanish in future versions, and come back later. |
Bug Report
Symfony make entity command results in Exception
Summary
Symfony make entity command results in Exception
Current behavior
symfony console make:entity
[critical] Error thrown while running command "make:entity". Message: "Cannot access protected property Doctrine\ORM\Mapping\Driver\AttributeDriver::$classNames"
How to reproduce
Expected behavior
No exception
Temporary workaround
Downgrade
doctrine/orm to 2.11.2
The text was updated successfully, but these errors were encountered: