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

buddypress-trac noreply at wordpress.org
Sun Apr 5 19:02:37 UTC 2015


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

Comment (by boonebgorges):

 lakrisgubben - Thanks for the patch, and sorry for not reviewing sooner. I
 have banged my head against the computer a bit more here, and I still
 don't understand what's going on. As far as I can see, there is no way
 that the 'fields' property in the `$groups` array being touched by your
 patch could possibly be populated from the persistent cache. As such, I
 can't manage to make the `$populated_fields` variable be anything but an
 empty array.

 The `$populated_fields` check, or something like it, is pretty harmless.
 But I'm very wary of putting the fix in without better understanding the
 circumstances under which the problem is being exhibited. lakrisgubben or
 anyone else, is there any chance you can debug further how the errant
 'fields' data is being set in the cache?

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


More information about the buddypress-trac mailing list