-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update from 10.0.3 - User login not working - Call to a member function getUID() on null #30335
Comments
Hello, |
there is a null check missing - https://github.com/owncloud/core/blame/v10.0.5/lib/private/User/User.php#L332 @sharidas please have a look - THX |
Urgh this issue. Here we mix session / business logic right into our user model. IMO, the 'role' checking to see if the current session can change the displayname should be in the appropriate controller / api method that is asking to make the change - not right down in the user model. When using the user model we dont know if we have a session |
The commit 9a1b527 work ! |
will be in 10.0.7 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
User login ok
Actual behaviour
Blank page on login on Firefox or error 500 to Chrome
Server configuration
Operating system: centos 7
Web server: nginx 1.12
Database: mariadb 5.5.56
PHP version: 5.6 ( fpm )
ownCloud version: 10.0.6
Updated from an older ownCloud or fresh install: Updated
Where did you install ownCloud from: 10.0.3
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: nfs
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
Client configuration
Browser: chrome, firefox
Operating system: centos 7
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: