owncloud / owncloud/ios-app

Short user names / group names are not found as recipients

Open
#569 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature:sharing
Dominant language
Swift
Stars
251
Forks
142
Avg merge
2d 17h
Merged PRs (30d)
3

Description

Steps to reproduce
  1. In config.php set user.search_min_length' => 4,
  2. Create a user called 123 and a group called 456
  3. Try to share an item with them
Actual behaviour

Not posible, so they do not reach the 4 characters needed to start searching

Expected behaviour

They should be posible to share with.

After checking the web UI and desktop client, they follow the value of user.search_min_length but in case there is a shorter-name recipient that matches the typed pattern, they show it. This is, repeating the steps 1. and 2. above:

  1. Type 123 (or 456)

Current: 123 (or 456) is shown in the list, even when its length does not reach the minimum in config.php.

iPhone 6S Plus, iOS 13.1
oC 10.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the iOS app with user.search_min_length set to 4, then compare recipient search behavior for short user and group names with the web UI and desktop client. Done means a matching short recipient such as 123 or 456 appears when its full name is typed, despite the configured minimum length.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.