[BUG] Deeplinks without connection, not working
Open
Nobody has claimed this yet.
Estimation - 8 (XL)
Type:bug
- Dominant language
- Kotlin
- Stars
- 4.2k
- Forks
- 3.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 7
Description
Comes from https://github.com/owncloud/android/pull/4212#issuecomment-1840703242
Steps to reproduce
- Download a file
- Get the link of the file and create a deep link (adding
owncloud://as prefix) - Remove device connection
- Click on the link to open
Actual behaviour
Sync failed
Expected behaviour
File is downloaded (therefore discovered), so it should be opened in the app, regardless the lack of connection.
- If file is discovered and not downloaded, opening the link should show the Details view, no matter if the file is previewable or not (same as clicking directly the file)
- If the file is downloaded, lack of connection does not have to avoid opening it.
- If a folder is discovered, it should show the content
- Error only if item is not discovered
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
Start with the reproduction steps and the linked pull request comment to trace how an owncloud:// deeplink is handled while offline. Check the discovered-file, downloaded-file, and discovered-folder cases described in the issue. Done means opening the local item when available and showing an error only when it has not been discovered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100