Project

General

Profile

Actions

Bug #8697

closed

[J4] Missing user causes CmsUser API call to error

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

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
02 September 2021
Due date:
% Done:

100%

Estimated time:

Description

A missing user causes JUser::getInstance to return an uninitialized user object on J4. This results in `id` being NULL instead of 0. Need to use a guest object when this happens so it has initialized values.

Actions #1

Updated by krileon over 2 years ago

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

Fixed in MR !1718

Actions #2

Updated by beat over 2 years ago

  • Target version changed from CB 2.7 to CB 2.6.3
Actions #3

Updated by beat over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF