Project

General

Profile

Actions

Bug #8166

open

Calling Application::User on a user id that doesn't exist outputs warning

Added by krileon over 4 years ago. Updated 4 months ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
Start date:
10 September 2020
Due date:
% Done:

0%

Estimated time:

Description

Joomla load function will output a warning that user id doesn't exist if load is called with a non-existing user id. Typically a user is interacted with using CBs user table object, which won't do this since we just map to a empty Joomla user object. However the library API of Application::User directly calls CMS user object functions and will cause this if for example checking if a non-existing user is a moderator or checking for their ACL.

Actions #1

Updated by krileon over 4 years ago

Also an issue for _getCmsUserObject in CBframework which isn't even using Application::User

Actions #2

Updated by beat about 4 years ago

  • Target version changed from CB 2.4.7 to CB 2.5.0
Actions #3

Updated by beat almost 4 years ago

  • Target version changed from CB 2.5.0 to CB 2.6
Actions #4

Updated by beat over 3 years ago

  • Target version changed from CB 2.6 to CB 2.6.1
Actions #5

Updated by beat over 3 years ago

  • Target version changed from CB 2.6.1 to CB 2.7
Actions #6

Updated by beat almost 3 years ago

  • Target version changed from CB 2.7 to CB 2.7.2
Actions #7

Updated by beat almost 3 years ago

  • Target version changed from CB 2.7.2 to CB 2.7.3
Actions #8

Updated by beat over 2 years ago

  • Target version changed from CB 2.7.3 to CB 2.7.4
Actions #9

Updated by krileon about 2 years ago

  • Target version changed from CB 2.7.4 to CB 2.8
Actions #10

Updated by beat almost 2 years ago

  • Target version changed from CB 2.8 to CB 2.8.1
Actions #11

Updated by beat over 1 year ago

  • Target version changed from CB 2.8.1 to CB 2.8.2
Actions #12

Updated by beat about 1 year ago

  • Target version changed from CB 2.8.2 to CB 2.9.0
Actions #13

Updated by beat about 1 year ago

  • Target version changed from CB 2.9.0 to CB 2.9.2
Actions #14

Updated by beat 6 months ago

  • Target version changed from CB 2.9.2 to CB 2.9.3
Actions #15

Updated by beat 4 months ago

  • Target version changed from CB 2.9.3 to CB 2.9.4
Actions

Also available in: Atom PDF