nextcloud / nextcloud/android

Auto upload conflict dialogue shows wrong image as local

Open
#8,659 0 comments 0 reactions 0 assignees View on GitHub
bug feature: auto upload feature: transfers hotspot: sync conflicts needs review
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Steps to reproduce
1. In Settings, activate automatic upload, set option to delete original file after upload
2. This is constantly generating several conflicts, as the camera app of the device may fail to increment correctly after files were deleted
3. Tap the nextcloud conflict notification, the conflict resolution dialogue shows
4. In the dialogue, you are seeing the remote photo at left and at right. The information about respective file sizes is correct and usually differs
5. If I choose to only keep the remote photo (in error actually, because I am seeing two identical photos), still the local photo is kept and the conflict remains in nextclouds upload conflict list.

### Expected behaviour
- The conflict dialogue would be showing the local photo as local, and the remote photo as remote
- If I choose "keep" only for the remote photo, the local photo would be deleted and the conflict removed from nextclouds conflict list

### Actual behaviour
- See steps 4 and 5 above for better clarity when this actual behaviour occurs

### Can you reproduce this problem on https://try.nextcloud.com?
N/A, this bug report is about client behaviour, the problem arises from handling local files

### Environment data
Android version: 10

Device model: Sony Xperia XZ2

Stock or customized system: stock

Nextcloud app version: 3.16.1

Nextcloud server version: 21.0.2

Reverse proxy: Apache 2.4

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.