Bug #3560
closed
BP Widget Cache not properly invalidating
Added by Boone Gorges about 10 years ago.
Updated about 10 years ago.
Description
Hi Ray - I noticed that widget caches didn't appear to be invalidating correctly, so I've disabled the plugin on the live site for the time being. Members did appear to be refreshing, but groups and Recent Blog Posts did not. Would you mind having a look?
Thanks for the report, Boone. I'll take a look at this once I have a bit more down time.
BP Widget Cache might need to be network-activated. Can you see if this is already done? If not, do that and see if that fixes things.
- Target version changed from 1.7.1 to 1.7.2
- Target version changed from 1.7.2 to 1.7.3
Hi Boone,
You're right about the invalidation!
I forgot to invalidate:
- The Groups widget when a group is deleted
- The CAC's blog posts widget when an activity item is recorded / deleted
- All widgets when a user is deleted / marked as a spammer
See commit 462dd5c.
I believe I've caught all the places to invalidate the widgets. Please test on cdev to see if I missed anything!
- Status changed from Assigned to Resolved
Thanks, Ray - this looks great at a glance. I'm going to mark as resolved, and we'll reopen with further details if problems persist. (Don't forget to update the BP patch!)
Also available in: Atom
PDF