-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fatal error due to deprecation of Symfony\Component\Form\Util\PropertyPath #16
Comments
Just have to replace : By : And change the use statement : |
Is this compatible with older sf versions? 2013/10/7 isabellebruchet notifications@github.com
Grégoire Passault |
Apparently these new files exist since version 2.2, however, the code I posted above works, but it is not exactly the right way. PropertyAccessor should not be accessed directly but via PropertyAccess. |
Right way : isabellebruchet@d4ab026 |
Is this bug still occurs? Imho this issue can be closed. |
I have this fatal error after symfony vendor upgrade, trying to use "entity_id" :
FatalErrorException: Error: Class 'Symfony\Component\Form\Util\PropertyPath' not found in vendor/gregwar/form-bundle/Gregwar/FormBundle/DataTransformer/EntityToIdTransformer.php line 85
PropertyPath class is apparently deprecated.
The text was updated successfully, but these errors were encountered: