Project

General

Profile

Actions

Bug #3560

closed

BP Widget Cache not properly invalidating

Added by Boone Gorges about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Home Page
Target version:
Start date:
2014-10-15
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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?

Actions #1

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.

Actions #2

Updated by Boone Gorges about 10 years ago

  • Target version changed from 1.7.1 to 1.7.2
Actions #3

Updated by Boone Gorges about 10 years ago

  • Target version changed from 1.7.2 to 1.7.3
Actions #4

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!

Actions #5

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!)

Actions

Also available in: Atom PDF