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

Duplicating of users in dropdown list when sharing files and folders #11260

Open
olegbolden opened this issue Sep 17, 2018 · 10 comments
Open

Duplicating of users in dropdown list when sharing files and folders #11260

olegbolden opened this issue Sep 17, 2018 · 10 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug design Design, UI, UX, etc. feature: sharing

Comments

@olegbolden
Copy link

olegbolden commented Sep 17, 2018

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.

problem

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

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #6491 (Duplicate Shared folders), #8301 (Shared files are duplicated when moved to subdir), #3502 (Duplicated files and folders when moving from one shared folder to another (can reproduce it)), #5336 (Move link sharing into share with user-dropdown), and #10358 (Shared folder only displaying one file).

@olegbolden
Copy link
Author

Eventually got that the second line (user with email) from dropdown list is shown for users with numerical usernames if "Share by email" application is turned on. I wasn't aware of this app. But this second line is not visible for users with regular string names. Though it also seems to be a bug I close this issue because I finally got rid of this duplicating users from dropdown list.

@Mer0me
Copy link

Mer0me commented Sep 27, 2022

I think this one should be reopened.

On Nextcloud 24.0.5, when "Share by mail" app is enabled, some users are shown twice on the drop down list (a third occurrence can appear if a Talk conversation exists with this user but this seems legit).
The second occurrence of the user can't be clicked to share the file, we're getting error "please enter a valid user".

Maybe the origin of the problem is LDAP account using email address as identifier ? On another instance of Nextcloud that I own, with only regular Nextcloud account, I can't reproduce the problem.

Here is some screenshots :

image
This user is shown twice, same email address. If I click the second one, it throws error mentioned above. First occurrence of same user work.
Note that the mail icon isn't visible at the right of the dropdown option. Initials are not visible, just a white circle.

image
On this instance with only regular Nextcloud account (no ldap), all is fine, a user can be pointed by his user account, his mail or the talk conversation. For mail and talk, icons are properly shown.

Any clue ?

@Koky999
Copy link

Koky999 commented Nov 15, 2022

Hello I have the same issue. When sharing, there is one user multiply. But in users there is only once. No local users, everybody are from LDAP. NC version 22.2.3.

Users
image

User search at upper bar
image

List of users when sharing
image

@pierreozoux pierreozoux added the ux label Feb 24, 2023
@pierreozoux
Copy link
Member

I again got a user support question about this.

I reopen, this is an UX issue for me.

t3I97PYi1BHx9PBH

Users that are not really familiar with nextcloud will click one of the suggestion, and will send a an email invite to actual users of their instance.

And I think it is related to this big redesign :)
#26691

@pierreozoux pierreozoux reopened this Feb 24, 2023
@szaimen
Copy link
Contributor

szaimen commented Mar 17, 2023

Hi, which nc version?

@pierreozoux
Copy link
Member

@szaimen it ia last 24.

@szaimen szaimen added 24-feedback 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed needs info labels Mar 19, 2023
@szaimen
Copy link
Contributor

szaimen commented May 22, 2023

Hi, please update to 25.0.7 or better 26.0.2 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 26-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+

@Mer0me
Copy link

Mer0me commented May 22, 2023

The issue persists on 26.0.1 (26.0.2 is not available)

image

@jancborchardt jancborchardt added design Design, UI, UX, etc. and removed ux labels Apr 2, 2024
@joshtrichards
Copy link
Member

Possibly related: #15041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug design Design, UI, UX, etc. feature: sharing
Projects
None yet
Development

No branches or pull requests

8 participants