Skip to:

Opened 11 years ago

Closed 11 years ago

#5222 closed defect (bug) (fixed)

Cannot fetch XProfile field visibility without also fetching field data

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 1.9 Priority: normal
Severity: normal Version: 1.6
Component: Extended Profile Keywords: has-patch


I'd like to be able to fetch XProfile fields and their visibility levels, without the added overhead of also fetching all field data. Currently this is not possible.

Attachments (1)

5222.patch (647 bytes) - added by johnjamesjacoby 11 years ago.

Download all attachments as: .zip

Change History (2)

#1 @johnjamesjacoby
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In 7511:

Fetching XProfile field visibility levels should not be dependant on fetching field data.

Allow the fetching of only visibility levels without field data in BP_XProfile_Group::get() by moving the block outside of the $fetch_field_data check. Fixes #5222.

Note: See TracTickets for help on using tickets.