[Bug]: Cannot rename folder on MacOS 4.0.1
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 123
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
Hello
When a folder to sync contains a forbidden file name on MacOS, if the user selects the rename option the client returns this error :
"Impossible to rename local file, file is a folder"
### Steps to reproduce
1. On macOs sync folder, create a folder with ":" caracter in it.
2. On sync, client offers to rename invalid name, accept.
3. type new foldername, on clicking OK message appears
### Expected behavior
When invalid folder name, rename it just like files.
### Which files are affected by this bug
FACT-CONV cachan HIVER 2015
### Operating system
macOS
### Which version of the operating system you are running.
Monterey
### Package
Official macOS 12+ universal pkg
### Nextcloud Server version
31.0.9
### Nextcloud Desktop Client version
4.0.1
### Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.16.3 to 3.17.0)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
--- no relevant server logs as it happens on the client side ---
```
### Additional info
Contributor guide
Assessment
This issue has not been assessed yet.