Skip to:

Opened 12 years ago

Closed 11 years ago

#4572 closed defect (bug) (fixed)

Cache not deleting when modifying group data.

Reported by: voldomazta's profile voldomazta Owned by:
Milestone: 1.7 Priority: normal
Severity: normal Version:
Component: Groups Keywords: needs-patch


I have noticed that you instantiate group objects using the function groups_get_group() and the cache key inside that function has _load_users or _noload_users. However on your save() and delete() functions in the BP_Groups_Group object, these cache keys aren't deleted. Only the old cache key (bp_groups_group_N) is deleted.

Change History (3)

#1 @voldomazta
12 years ago

  • Component changed from Core to Groups

#2 @DJPaul
11 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 1.7

Good catch

#3 @johnjamesjacoby
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6611]) Delete single group caches when updating or deleting. Fixes #4572.

Note: See TracTickets for help on using tickets.