Actions
Bug #12225
closedTopbarSweeper should invalidate on plugin installation/removal
Difficulty:
Triaged:
Description
Users (and devs apparently) forget to log-out missing items in the main menu :)
Actions
Added by Lukas Zapletal over 10 years ago. Updated over 7 years ago.
Description
Users (and devs apparently) forget to log-out missing items in the main menu :)
PR closed.
Since we upgraded to Rails 4.x this patch is no longer necessary and it just works. Compare
http://edgeguides.rubyonrails.org/caching_with_rails.html#fragment-caching
with
http://guides.rubyonrails.org/v3.2/caching_with_rails.html#fragment-caching
(search for md5)
Re-opening as the issue is still present, tested on current develop. As per my comment at https://github.com/theforeman/foreman/pull/2849#issuecomment-217127785, the view fragment isn't changed when installing/uninstalling plugins, so the cache wouldn't get invalidated by the new mechanism in Rails 4. The digest is disabled in any case.
Applied in changeset c3e0fed15667ef934a96c9eafddf7c094d56eab7.