Project

General

Profile

Actions

Bug #8166

open

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

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

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

Updated by krileon over 5 years ago Actions #1

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

Updated by beat about 5 years ago Actions #2

  • Target version changed from CB 2.4.7 to CB 2.5.0

Updated by beat almost 5 years ago Actions #3

  • Target version changed from CB 2.5.0 to CB 2.6

Updated by beat over 4 years ago Actions #4

  • Target version changed from CB 2.6 to CB 2.6.1

Updated by beat over 4 years ago Actions #5

  • Target version changed from CB 2.6.1 to CB 2.7

Updated by beat almost 4 years ago Actions #6

  • Target version changed from CB 2.7 to CB 2.7.2

Updated by beat almost 4 years ago Actions #7

  • Target version changed from CB 2.7.2 to CB 2.7.3

Updated by beat over 3 years ago Actions #8

  • Target version changed from CB 2.7.3 to CB 2.7.4

Updated by krileon about 3 years ago Actions #9

  • Target version changed from CB 2.7.4 to CB 2.8

Updated by beat almost 3 years ago Actions #10

  • Target version changed from CB 2.8 to CB 2.8.1

Updated by beat over 2 years ago Actions #11

  • Target version changed from CB 2.8.1 to CB 2.8.2

Updated by beat over 2 years ago Actions #12

  • Target version changed from CB 2.8.2 to CB 2.9.0

Updated by beat about 2 years ago Actions #13

  • Target version changed from CB 2.9.0 to CB 2.9.2

Updated by beat over 1 year ago Actions #14

  • Target version changed from CB 2.9.2 to CB 2.9.3

Updated by beat over 1 year ago Actions #15

  • Target version changed from CB 2.9.3 to CB 2.10.0

Updated by beat 11 months ago Actions #16

  • Target version changed from CB 2.10.0 to CB 2.11.0

Updated by beat 2 months ago Actions #17

  • Target version changed from CB 2.11.0 to CB 2.11.1
Actions

Also available in: PDF Atom