Project

General

Profile

Actions

Bug #8583

closed

CBuser usages returning null when object is expected

Bug #8583: CBuser usages returning null when object is expected

Added by krileon over 4 years ago. Updated over 4 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.

Updated by krileon over 4 years ago Actions #1

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

Fixed in MR !1685

Updated by beat over 4 years ago Actions #2

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom