-
Notifications
You must be signed in to change notification settings - Fork 67
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
Hello! Tried to install the bundle on a fresh symfony 7 installation and it blocked the make:migration with an error: #287
Comments
@xribant - I'm not able to reproduce this error on a fresh symfony install. Can you provide:
I would suspect this is caused by the doctrine config being set to use When I do:
I'm getting a success message with a generated migration file. |
Hi @jrushlow. The issue occurs for me with Symfony 6.4 while using the Stof DoctrineExtensions. As soon as I add this to my stof_doctrine_extensions.yaml, the same error occurs.
There is an issue for this error on their project as well, but I'm not certain what causes this error: stof/StofDoctrineExtensionsBundle#470 Edit 1: Seems like the DoctrineExtensions isn't ready to be used with Doctrine 3 yet. As I haven't had issues with the RestPasswordBundle until I've added the DoctrineExtensions, the error message most likely displays an confusing text. Edit 2: Downgrading doctrine/orm from 3.1.* to 2.19.* fixed this issue. It's a none issue for the RestPasswordBundle, but might be worth a notice for future reference, until DoctrineExtensions are ready for Doctrine 3. |
Howdy @KhorneHoly - can you create a gist of your |
Sure thing @jrushlow, here are the links. composer.json: https://gist.github.com/KhorneHoly/4b88b1a066d494195adff309bb246ad5 |
I faced the same now. |
I don't know what For the folks hitting that annotation-related error when having For folks getting any kind of The symfony/symfony#48792 issue is specific to the Symfony DependencyInjection component and its handling of the older |
You are right. |
Hello! Tried to install the bundle on a fresh symfony 7 installation and it blocked the make:migration with an error:
Annotations are not supported anymore in Symfony 7 and even if old annotations were removed from the entity ResetPasswordRequest.php. It's still present in the trait file.
Remove old annotations from ResetPasswordRequestTrait.php in vendor/symfonycasts/reset-password-bundle/src/Model/ResetPasswordRequestTrait.php did the trick to permit the make:migration
Originally posted by @xribant in #274 (comment)
The text was updated successfully, but these errors were encountered: