nextcloud / nextcloud/android

File Not found or Auto Re-create Lower Case Folder when Sharing as PDF into the Same Folder

Open
#14,736 2 comments 0 reactions 1 assignee Claimed by @alperozturk96 View on GitHub
bug hotspot: filename handling
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. Create a folder with upper case letters in the folder name in nexcloud via android client
2. Copy a .doc file into the new folder
3. Open the .doc file with Microsoft word android app, then share as pdf, share using nexcloud and upload to the same folder within word app

### Expected behaviour

Straight forward upload to the target folder, as it's been working this way always.

### Actual behaviour

First upload pops up fail notification "file not found", following upload attempts will pop same fail notification or sometimes auto creates a new folder with the same name but in lower case letters, into which it uploads the shared pdf file.

### Android version

13

### Device brand and model

Vivo X Fold 3

### Stock or custom OS?

Stock

### Nextcloud android app version

3.31.0

### Nextcloud server version

31.0.2

### Using a reverse proxy?

No

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

Sry I don't see emulated/0/data folder in the phone.
Nexcloud has been running rather solid for a long time in my unraid machine and I've been doing this create folder-copy a word file-edit and share as pdf-upload into the same folder for a long time without any issue, but now it's being weird.
This issue only appears on Android Client, the Win11 client works the right way.

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.