Skip to content
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

After saving content, menu caches should be cleared. #1321

Closed
bobdenotter opened this issue Apr 22, 2020 · 0 comments · Fixed by #1326
Closed

After saving content, menu caches should be cleared. #1321

bobdenotter opened this issue Apr 22, 2020 · 0 comments · Fixed by #1326
Labels
🐛 tag: bug This is a bug.

Comments

@bobdenotter
Copy link
Member

We have a subscriber ContentSaveSubscriber, which now naively clears backendmenu. It needs to clear all locales:

https://github.com/bolt/core/blob/master/src/Event/Subscriber/ContentSaveSubscriber.php#L38

And, thinking about it, maybe the frontend menu's as well, for the different locales? 🤔

Maybe there's something like $this->cache->delete('backendmenu_*'); ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 tag: bug This is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant