nextcloud / nextcloud/android

duplicate photo when auto upload

Open
#14,418 1 comment 0 reactions 1 assignee Claimed by @tobiasKaminsky View on GitHub
bug
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

Setup Auto upload for a folder like screenshot
Take a screenshot
Wait for auto upload
See that the picture is in the root folder chooses and the screenshot folder of the root folder

### Expected behaviour

Must be only one picture not 2 time the same at 2 different locations

### Actual behaviour

Picture is duplicate...

Exemple : my root folder is Pictures and I have choosed to use folder and date based auto upload.

So nextcloud will upload in Pictures/2025/01/Screenshot for the screenshot folder but he actually upload it in screenshot folder but in Pictures/2025/01 too

### Android version

14

### Device brand and model

Honor 80

### Stock or custom OS?

Stock

### Nextcloud android app version

3.30.8 rc1

### Nextcloud server version

30.0.4

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

```bash

```

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