Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: renaming not empty ignored folder trigger its content to be removed #6720

Open
4 of 8 tasks
mgallien opened this issue Apr 30, 2024 · 1 comment
Open
4 of 8 tasks

Comments

@mgallien
Copy link
Collaborator

mgallien commented Apr 30, 2024

⚠️ Before submitting, please verify the following: ⚠️

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

  1. Create a new folder
  2. Rename it to testIgnore
  3. Add some files inside it
  4. Wait for sync to happen
  5. Free up storage such that the new not empty folder gets a cloud status icon
  6. Add a rule to ignore all items with pattern: *.msg
  7. Rename testIgnore to testIgnore.msg
  8. Wait for sync to happen
  9. Rename testIgnore.msg to testIgnore
  10. Wait for sync to happen
  11. 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

@mgallien mgallien added the enhancement enhancement of a already implemented feature/code label Apr 30, 2024
@mgallien mgallien changed the title renaming not empty ignored folder trigger its content to be removed [Bug]: renaming not empty ignored folder trigger its content to be removed Apr 30, 2024
@mgallien mgallien added 1. to develop bug os: 🚪 Windows feature: 💽 virtual filesystem feature: 🔄 sync engine approved bug approved by the team and removed enhancement enhancement of a already implemented feature/code labels Apr 30, 2024
@mgallien
Copy link
Collaborator Author

mostly affecting all current releases of virtual files on windows
@tobiasKaminsky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant