Project

General

Profile

Actions

Bug #6319

closed

fieldsFetch acting on wrong user object

Added by krileon about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
30 November 2016
Due date:
% Done:

100%

Estimated time:

Description

When getFields is called it triggers onAfterFieldsFetch with the viewing user object instead of the CBuser user object. This results in fields being removed from the fields array based off the privacy settings of the viewing user and not the user being displayed. This is only the case for getFields which also supplies $fieldIdOrName so ignoring this check when $fieldIdOrName is supplied will resolve this as the field will be removed on display based off the privacy settings of the user being displayed.

Actions #1

Updated by krileon about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #2

Updated by krileon over 7 years ago

  • Target version changed from 739 to 5.0.0
Actions #3

Updated by krileon over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF