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.
Start date:
10 September 2020
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.
Also an issue for _getCmsUserObject in CBframework which isn't even using Application::User
- Target version changed from CB 2.4.7 to CB 2.5.0
- Target version changed from CB 2.5.0 to CB 2.6
- Target version changed from CB 2.6 to CB 2.6.1
- Target version changed from CB 2.6.1 to CB 2.7
- Target version changed from CB 2.7 to CB 2.7.2
- Target version changed from CB 2.7.2 to CB 2.7.3
- Target version changed from CB 2.7.3 to CB 2.7.4
- Target version changed from CB 2.7.4 to CB 2.8
- Target version changed from CB 2.8 to CB 2.8.1
- Target version changed from CB 2.8.1 to CB 2.8.2
- Target version changed from CB 2.8.2 to CB 2.9.0
- Target version changed from CB 2.9.0 to CB 2.9.2
- Target version changed from CB 2.9.2 to CB 2.9.3
- Target version changed from CB 2.9.3 to CB 2.9.4
Also available in: Atom
PDF