Duplicating of users in dropdown list when sharing files and folders
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Users with numerical usernames (say 5555) have two instances in droplist when sharing files or folders: with email and without it.
Expected behaviour
User wants to share file or folder with some user having numerical username. When he types his name then this name appears once in dropdown list.
Actual behaviour
Name of the user with numerical username on sharing appears twice in dropdown list: with email and without it.

Users with regular usernames have the only instance to select from dropdown list upon object sharing.
Server configuration
Operating system:
Linux Debian Jessie
Web server:
Nginx+PHP-FPM and Apache+CGI
Database:
MySQL
PHP version:
7.0.25 and 7.1.20
Nextcloud version: (see Nextcloud admin page)
14.0
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 13.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the sharing flow with a user whose username is numeric, such as 5555, and inspect the user-search dropdown entry point. Compare the duplicate entries with those for a regular username; done means the numeric user appears only once while sharing a file or folder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100