-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Error loading contacts menu #9402
Comments
There is a null check missing at
UID which seems to be invalid (for whatever reason) and therefore null is returned and passed into the group manager.
|
Can I help you with it? Do you need some more information? |
@hoellen are you able to attach a debugger to your instance or add some logging statements to get the value of |
I used the following lines to get the value:
It returns "testuser124" . This is a testuser I had long time ago. He was deleted.
I deleted the "testuser124" line in oc_accounts. But it doesn't changed anything. As a workaround I added the following lines in the file ContactsStore.php. Since then the Contactsmenu works.
But: Where does the value come from? |
Awesome findings, @hoellen. Thanks a lot!
I assume it's coming from the system address, book. So that should be |
Seems to be fixed with #10296 |
Yes, seems that's exactly the same issue. Hence, I'm closing this ticket. |
Yep, this is the fix. Thanks! |
Sounds sane. However, I'd rather try to track down why we have some dead UIDs in our database and make sure there are no leftovers in the first place. |
I just want to let you know (maybe another has this issue too), that there is the command |
Steps to reproduce
Expected behaviour
Show users from groups and contacts
Actual behaviour
"Error while loading contacts" (see nextcloud.log)
Searching in the contacts menu works and shows contacts.
Server configuration
Operating system: CentOS Linux release 7.4.1708 (Core)
Web server: nginx/1.13.12
Database: MariaDB-10.2.14
PHP version: php-fpm 7.2.5
Nextcloud version: 13.0.2
Where did you install Nextcloud from: Docker
Signing status: All checks passed.
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 59.0.2
Operating system: ArchLinux
Logs
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: