Bug #3560
closedBP Widget Cache not properly invalidating
0%
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?
Updated by Raymond Hoh about 10 years ago
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.
Updated by Boone Gorges about 10 years ago
- Target version changed from 1.7.1 to 1.7.2
Updated by Boone Gorges about 10 years ago
- Target version changed from 1.7.2 to 1.7.3
Updated by Raymond Hoh about 10 years ago
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!
Updated by Boone Gorges about 10 years ago
- 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!)