[Bug]: renaming not empty ignored folder trigger its content to be removed #6720
Open
Description
⚠️ Before submitting, please verify the following: ⚠️
- This is a bug, not a question or a configuration issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- I agree to follow Nextcloud's Code of Conduct
Bug description
if a local folder is ignored (i.e. the name matches ignore patterns), the desktop files client will not sync it to the server.
in files explorer, the status icon will be empty (i.e. no status icon)
once you rename it such that it will be synced to the server, the content of the folder will be deleted
Steps to reproduce
- Create a new folder
- Rename it to
testIgnore
- Add some files inside it
- Wait for sync to happen
- Free up storage such that the new not empty folder gets a cloud status icon
- Add a rule to ignore all items with pattern:
*.msg
- Rename
testIgnore
totestIgnore.msg
- Wait for sync to happen
- Rename
testIgnore.msg
totestIgnore
- Wait for sync to happen
- Checks the content of the folder
Expected behavior
Files stored in this folder (or in its sub-folders) are not deleted
Which files are affected by this bug
n/a
Operating system
Windows
Which version of the operating system you are running.
windows 10
Package
Other
Nextcloud Server version
28.0.3
Nextcloud Desktop Client version
master branch
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- Default internal user-backend
- LDAP/ Active Directory
- SSO - SAML
- Other
Nextcloud Server logs
No response
Additional info
No response