Project

General

Profile

Bug #3560

BP Widget Cache not properly invalidating

Added by Boone Gorges over 4 years ago. Updated over 4 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:

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?

History

#1 Updated by Raymond Hoh over 4 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.

#2 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.7.1 to 1.7.2

#3 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.7.2 to 1.7.3

#4 Updated by Raymond Hoh over 4 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!

#5 Updated by Boone Gorges over 4 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!)

Also available in: Atom PDF