Project

General

Profile

Actions

Bug #8420

closed

tabClass and fieldClass API being sent null instead of expected UserTable

Added by krileon about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
17 March 2021
Due date:
% Done:

100%

Estimated time:

Description

If either endpoints are called with a user id of 0 then a value of null for $user is passed around the API. The API however, and all phpdoc for it, note only UserTable is accepted. This needs to be fixed to always pass UserTable as the API expects.

Actions #1

Updated by krileon about 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1639

Actions #2

Updated by beat about 3 years ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 20

Re-opening as merge got reversed to account for break in CBSubs

Actions #3

Updated by krileon about 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 20 to 100

Fixed in MR !1648

phpDoc now notes $user can be null and core fieldClass usages that were missing handling of ! $user now have it.

Actions #4

Updated by beat almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF