[buddypress-trac] [BuddyPress Trac] #7112: xprofile field cache is stale after update

buddypress-trac noreply at wordpress.org
Fri Jun 10 14:21:21 UTC 2016

#7112: xprofile field cache is stale after update
 Reporter:  emrikol               |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  2.6
Component:  Component - XProfile  |     Version:  2.4.0
 Severity:  normal                |  Resolution:
 Keywords:  has-patch commit      |
Changes (by boonebgorges):

 * keywords:  has-patch => has-patch commit
 * milestone:  Awaiting Review => 2.6


 Thanks for the report, @emrikol.

 Fix looks good. The test in [attachment:7112-alt-test.diff] is probably
 better; we should avoid directly referencing the cache in tests, in case
 we decide to change the implementation later on. What we really care about
 is that the data is invalidated, which we can only know by pulling up a
 new object.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7112#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list