nextcloud / nextcloud/android

client fails to create a conflict dialogue (for 0 byte files)

Open
#16,219 0 comments 1 reaction 0 assignees View on GitHub
0. Needs triage 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

1. in my case a 0 byte file was created by the android client while uploading pictures (different issue)
2. I try to manually upload that file PXL_20251228_083639196.jpg from the phone again by sharing it to the nextcloud client
3. I get a notification that there is a conflict and if I tap on it the nextcloud client opens and states "could not create conflict dialogue"

### Expected behaviour

Create a conflict dialogue and let me choose which file to use. Actually, for a 0 byte file, there might be an obvious solution.

### Actual behaviour

see above, no conflict dialogue is created

### Android version

16

### Device brand and model

Pixel 8a

### Stock or custom OS?

Stock

### Nextcloud android app version

3.34.1

### Nextcloud server version

32.0.3

### Using a reverse proxy?

Yes

### Android logs

[logs-saved.txt](https://github.com/user-attachments/files/24374781/logs-saved.txt)

### Server error logs

```bash
I have several of these in the logs but none at 22:14

{"reqId":"GyOl23Kck1tujPtXIMEV","level":4,"time":"2025-12-29T21:13:40+00:00","remoteAddr":"192.168.0.165","user":"sven","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/sven/Familienfotos/Sven%20Telefon/Camera/","message":"Request used more than 300 MB of RAM: 901.4 MB","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.34.1","version":"32.0.3.2","data":{"app":"core"},"id":"6952f30a6d674"}

{"reqId":"vGPVm7LOmylGNJrjRK69","level":4,"time":"2025-12-29T21:19:53+00:00","remoteAddr":"192.168.0.165","user":"sven","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/sven/Familienfotos/Sven%20Telefon/Camera/","message":"Request used more than 300 MB of RAM: 901.3 MB","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/20251220","version":"32.0.3.2","data":{"app":"core"},"id":"6952f30a6d63b"}
```

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