[buddypress-trac] [BuddyPress Trac] #6091: Duplicate xprofile fields when using object cache

buddypress-trac noreply at wordpress.org
Wed Jan 7 19:07:34 UTC 2015


#6091: Duplicate xprofile fields when using object cache
-------------------------------+------------------------------
 Reporter:  lakrisgubben       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  XProfile           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by lakrisgubben):

 Sure, thanks for the quick reply. I've tested this on a clean install with
 latest wp and bp. Everything was working good so I thought I might have
 been mistaken, but then I added one call to bp_member_profile_data() and
 then the issue turns up again. But I realised now that maybe you should
 use the bp_profile_field_data() function instead, which makes the problem
 go away. So this might be a false report, anyways the problem seems to lie
 in when get_group_data() in class BP_XProfile_Group is called twice and
 already has a cache populated with profile fields.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6091#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list