owncloud / owncloud/android

[BUG] Unsynchronized files already downloaded via Android document provider

Open
#3,404 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Document Provider Estimation - 3 (M) p3-medium
Dominant language
Kotlin
Stars
4.2k
Forks
3.1k
Avg merge
1d 12h
Merged PRs (30d)
7

Description

When I select a file in my OwnCloud folder via the standard Android file dialog in an Android app (not the OwnCloud app), often the selected file is not synchronized/up-to-date.

I can fix the problem by opening the OwnCloud app and downloading the desired file. After that, I get the synchronized file by using the standard Android file dialog in other Android apps.

Steps to reproduce
  1. Download a file within the ownCloud Android App
  2. Modify the file within other clients
  3. Open an editor and open the file using the DocumentsProvider
  4. Downloaded version is opened (but not the latest one)
  5. After saving it, a new conflict notification appears

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 five steps through the Android DocumentsProvider, comparing the file selected by an external app with the version available in the ownCloud app. Trace the provider's download and synchronization path; done means external file selection returns the latest remote version and saving it does not create a false conflict.

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.