-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
BugBug FixBug FixStatus: Waiting FeedbackNeeds feedback from the authorNeeds feedback from the authorunconfirmed
Description
Hello! Tried to install the bundle on a fresh symfony 7 installation and it blocked the make:migration with an error:
[Semantical Error] The class "Doctrine\ORM\Mapping\Column" is not annotated with @Annotation.
Are you sure this class can be used as annotation?
If so, then you need to add @Annotation to the _class_ doc comment of "Doctrine\ORM\Mapping\Column".
If it is indeed no annotation, then you need to add @IgnoreAnnotation("ORM\Column") to the _class_ doc comment of property App\Entity\ResetPasswordRequest::$selector.
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)
VDev-S, rhendrickson-sc and LoicBoursin
Metadata
Metadata
Assignees
Labels
BugBug FixBug FixStatus: Waiting FeedbackNeeds feedback from the authorNeeds feedback from the authorunconfirmed