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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some users don't show up in 'search contacts' #27724

Open
raboof opened this issue Jun 30, 2021 · 7 comments
Open

Some users don't show up in 'search contacts' #27724

raboof opened this issue Jun 30, 2021 · 7 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug feature: contacts feature: search

Comments

@raboof
Copy link
Contributor

raboof commented Jun 30, 2021

How to use GitHub

  • Please use the 馃憤 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a user with a dash in its username
  2. Search for that user in the top-right 'Search contacts' box

Expected behaviour

You find the user

Actual behaviour

You don't find the user

Server configuration

Operating system:
Linux (using the Nextcloud docker image)

Web server:
nginx

Database:
mariadb

PHP version:
unknown

Nextcloud version: (see Nextcloud admin page)
21.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from a not-too-old Nextcloud install, but the problem occurs for new users as well.

Where did you install Nextcloud from:
docker

Signing status:

Signing status
No errors have been found.

Are you using an external user-backend, if yes which one: AFAIK no

Client configuration

Browser: Firefox, but the problem is also observed by other users

Operating system: NixOS linux, but the problem is also observed by other users

Logs

The whole process of creating the new user, logging in as the new user, and searching for that new user does not produce any lines in the log.

Browser log

Browser log

Nothing interesting here, only complaining the built-in jQuery is deprecated

@raboof raboof added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jun 30, 2021
@szaimen
Copy link
Contributor

szaimen commented Aug 8, 2021

I suppose this is still happening on NC21.0.4?

@raboof
Copy link
Contributor Author

raboof commented Aug 9, 2021

The latest version I've tested this with is 21.0.1, I'll update here when I test with newer versions.

Since filing this issue I've also seen users without dashes in their username not show up in the contact list, though, so I'm no longer sure this is what triggers the issue...

Another thing I noticed since is that while they don't show up in 'Search contacts...', they do show up in the 'share with...' dropdowns.

@raboof raboof changed the title User with dash in username does not show up in 'search contacts' Some users don't show up in 'search contacts' Aug 9, 2021
@paultaiton

This comment has been minimized.

@raboof

This comment has been minimized.

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of feature: search and removed needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Sep 15, 2021
@raboof
Copy link
Contributor Author

raboof commented Oct 4, 2021

Another shot in the dark: I just noticed both users for which this is happening have a first name that is shared with another user.

Also their usernames are 'firstname' and 'firstname.lastname', though for the one user it is the 'firstname.lastname' account that cannot be found, and for the other it is 'firstname'.

@szaimen

This comment has been minimized.

@szaimen szaimen added needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed 1. to develop Accepted and waiting to be taken care of labels Jan 23, 2023
@raboof
Copy link
Contributor Author

raboof commented Jan 23, 2023

I can confirm this is still happening after we updated to 25.0.3

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 25-feedback bug feature: contacts feature: search
Projects
None yet
Development

No branches or pull requests

4 participants