owncloud / owncloud/android

[BUG] Deeplinks without connection, not working

Open
#4,251 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Download a file
  2. Get the link of the file and create a deep link (adding owncloud:// as prefix)
  3. Remove device connection
  4. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.