Skip to content

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

Closed

Description

@tabp0le

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

Activity

  1. nextcloud-bot commented on Sep 11, 2018

    @nextcloud-bot
    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.).

  2. nickvergessen commented on Sep 12, 2018

    @nickvergessen
    Member

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

  3. Lartza commented on Sep 12, 2018

    @Lartza
    Member

    #11181 works for me

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions