Opened 8 months ago

Closed 5 months ago

#4572 closed defect (bug) (fixed)

Cache not deleting when modifying group data.

Reported by: voldomazta Owned by:
Priority: normal Milestone: 1.7
Component: Groups Version:
Severity: normal 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)

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

Good catch

  • 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.