nextcloud / nextcloud/android

Changes to Files Being Discarded When Using "Sync" on Folder

Open
#13,554 4 comments 7 reactions 0 assignees View on GitHub
bug feature: sync stable-3.29
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Open Nextcloud Android App
2. Open Folder (e.g. "Forms")
3. Select/Open PDF File (Containing Form Fields) in PDF Editor App (Xodo)
4. Modify the content of the Form Fields
5. Close the Document
6. Back in Nextcloud Android go "back" to the Folder "Forms" containing the PDF File
7. Click on the Kebab Menu Symbol next to the **Folder** to open the Bottom Sheet Menu and select "Sync"

### Expected behaviour

The "Sync" feature Syncs all Files contained in the Folder and its Subfolders making the changes visible on the Server

### Actual behaviour

After the Sync is finished the Modified content is gone and the "last modified Date" is also not changed.

But this only happens when using the "Sync" feature for a Folder.

if i do the exact same steps as described above and then click on the Kebab Menu Symbol next to the **File** to open the Bottom Sheet Menu and select "Sync" then the changes are visible on the Server as expected.
Also if i modify the File as described above and then open the same file again (triggering the Sync) the changes are visible on the Server.

### Android version

13

### Device brand and model

Samsung Galaxy Tab S6 lite SM-P610

### Stock or custom OS?

Stock

### Nextcloud android app version

3.29.2

### Nextcloud server version

27.1.11

### Using a reverse proxy?

I don't know

### Android logs

_No response_

### Server error logs

_No response_

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.