Skip to:
Content

Opened 5 years ago

Closed 5 years ago

#4572 closed defect (bug) (fixed)

Cache not deleting when modifying group data.

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

Description

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
5 years ago

  • Component changed from Core to Groups

#2 @DJPaul
5 years ago

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

Good catch

#3 @johnjamesjacoby
5 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.