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

User List Not Shown If Any User Has Numeric ID #11178

Closed
tabp0le opened this issue Sep 11, 2018 · 3 comments
Closed

User List Not Shown If Any User Has Numeric ID #11178

tabp0le opened this issue Sep 11, 2018 · 3 comments

Comments

@tabp0le
Copy link

tabp0le commented Sep 11, 2018

Steps to reproduce

  1. Create user with numeric ID
  2. Go to userlist
  3. Fail

Expected behaviour

User list should display

Actual behaviour

User list does not display

Server configuration

Operating system: CentOS 7

Web server: nginx

Database: mysql

PHP version: 7.2

Nextcloud version: 14.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: Official release zip

Nextcloud log (data/nextcloud.log)

Nextcloud log
PHP TypeError: Argument 1 passed to OCA\Provisioning_API\Controller\AUserData::getUserData() must be of the type string, integer given, called in /var/www/sprycloud/http/apps/provisioning_api/lib/Controller/UsersController.php on line 180 at /var/www/sprycloud/http/apps/provisioning_api/lib/Controller/AUserData.php#81

This commit fixes the issue: 3d566dd

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #10158 (occ: user:list missing "numeric" username), #7080 (User Provisioning API - Create user does not work, instead users list is shown), #6580 (Exception with users identified by numeric id), #10161 (Correctly handle users with numeric user ids), and #5751 (Errors when creating groups from the user list.).

@nickvergessen
Copy link
Member

Thanks for your report, you can try #11181 and see if it fixes the issue?

@Lartza
Copy link
Member

Lartza commented Sep 12, 2018

#11181 works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants