Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling ilObjTest->getActiveIdOfUser in a cron/cli enviroment as anonymous user no activeId is returned #9158

Open
wants to merge 1 commit into
base: release_9
Choose a base branch
from

Conversation

PurHur
Copy link
Contributor

@PurHur PurHur commented Mar 5, 2025

In a cron/cli enviroment without explicit user context the $this->user is the anonymouos user not the passed user of the passed user_id. The fallback user_id is fetched in the first lines of the method so this $user_id should be used.

Mantis https://mantis.ilias.de/view.php?id=44475

@thojou thojou added bugfix php Pull requests that update Php code labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants