We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See /~https://github.com/nextcloud/calendar/blob/master/controller/settingscontroller.php#L59
If $userSession->getUser() returs null, we have
$userSession->getUser()
Error: Call to a member function getUID() on null
The fix in is the vue branch
$user = $userSession->getUser(); if ($user) { $this->userId = $user->getUID(); }
Even better would be to throw an appropriate exception, because it doesn't seem to be handled further down.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered:
Implemented in #926
We don't use UserSession anymore. Where necessary, we inject $userId via DI directly.
$userId
Sorry, something went wrong.
georgehrke
No branches or pull requests
See /~https://github.com/nextcloud/calendar/blob/master/controller/settingscontroller.php#L59
If
$userSession->getUser()
returs null, we haveThe fix in is the vue branch
Even better would be to throw an appropriate exception, because it doesn't seem to be handled further down.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: