Closed rafa0805 closed 7 months ago
Closed in favor of https://github.com/sonata-project/SonataAdminBundle/issues/8015#issuecomment-1854904779. There is no need for duplicates issues.
Accutually this is not a duplication. This is not same issue since symfony/security-http@v5.4.31 was released in Nov 10, which is quite after #8015 creation.
Isn't there something to be changed in sonata-project/admin-bundler side to keep compatible with symfony/security-http?
Thanks.
Accutually this is not a duplication. This is not same issue since symfony/security-http@v5.4.31 was released in Nov 10, which is quite after #8015 creation.
If it wasn't the same, you had no reason to re-post your issue there. Moreover it's the same topic, and you don't really know the root cause ; how can you be sure it's not the same reason ? There is no need to have one issue per symfony version.
Isn't there something to be changed in sonata-project/admin-bundler side to keep compatible with symfony/security-http?
If there is something to change, that mean Symfony made a BC break/mistake. Then it's a symfony issue. Did you opened an issue on there side ?
If it wasn't the same, you had no reason to re-post your issue there.
Sorry, this is totally my mistake. First I've posted at #8015, but after that I came to think that that was a different issue and then I created a new issue. I shoud have deleted the post I had done at #8015.
If there is something to change, that mean Symfony made a BC break/mistake.
Totally understood. I'll open an issue at symfony side.
Thanks for you time.
Environment
Sonata packages
CSRF token errors occurs when creating a new record throw sonata after updating sonata-project/admin-bundle with dependencies. This issue occurs when applying symfony/security-http security patch released on v5.3.31.
Symfony packages
PHP version
Subject
It seems that latest sonata-project/admin-bundle is not working well with symfony/security-http:v5.3.31 relased at Nov 10. It works well when fixing symfony/security-http verison to 5.3.30. Therefore this issue prevents one from applying symfony/security-http security patch released at symfony/security-http:v5.3.31.
Steps to reproduce
Expected results
No csrf token error when creating record.
Actual results
csrf token error