KunstmaanBundlesCMS icon indicating copy to clipboard operation
KunstmaanBundlesCMS copied to clipboard

security.token_storage is now private

Open delboy1978uk opened this issue 11 months ago • 2 comments

We have upgraded our site, currently on 7.1.x-dev, but ran into a problem in the AbstractEntityArticle AdminListController in the ArticleBundle, where security.token_storage is no longer in the container. image The service was made private in v6 of Symfony https://github.com/symfony/symfony/blob/6.4/UPGRADE-6.0.md?plain=1#L459

I have since tried on a fresh Kuma install using 7.1 of both the cms-skeleton and the bundles.

When I access /nl/admin for the first time, I get the following error: image

I tried to make the token storage public, both via yaml and via compiler pass, but neither successfully worked for me. I'm guessing anywhere that references it will need to use dependency injection instead?

delboy1978uk avatar Mar 19 '24 12:03 delboy1978uk