Project

General

Profile

Actions

Bug #8583

closed

CBuser usages returning null when object is expected

Added by krileon almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
15 June 2021
Due date:
% Done:

100%

Estimated time:

Description

Some usages are not setting the $allowNull parameter to false when their usages explicitly are expecting a CBuser object. This results in functions being called on NULL when the user id is 0, null, or the user doesn't exists. This then causes fatal errors.

Actions #1

Updated by krileon almost 3 years ago

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

Fixed in MR !1685

Actions #2

Updated by beat over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF