Skip to content

[Bug]: Folder duplication after renaming & internal links not permanent #58388

@Mulder42

Description

@Mulder42

⚠️ This issue respects the following points: ⚠️

Bug description

When I renamed folders from for ex. "🚨 Important" to "1. 🚨 Important", Nextcloud kept an empty "🚨 Important" folder that I couldn't delete. In order to get rid of this empty unwanted "🚨 Important" folder, I had to move the actual "1. 🚨 Important" folder to a new folder, then delete the folder superior to the empty "🚨 Important" folder.

Furthermore, when I rename a superior folder from "Projects" to for instance "🗓️ Projects", internal links to files inside that renamed folder stop working. Shouldn't "internal links" stay the same forever, until the file is deleted? It's not practical if internal links to files inside a folder stop working, just because the containing folder is renamed.

(In case that symbols inside folder or file names are the problem, they should be forbidden in Nextcloud. But I hope they are not, as symbols are a very nice way to create more overview and easiness of understanding.)

Steps to reproduce

  1. Rename a folder (add a number before a symbol in its name)
  2. An empty folder with the old name is preserved that cannot be deleted
  3. Add a symbol to a folder's name and internal links to files or folders within that folder stop working

Expected behavior

  1. If a folder or file is renamed, no undeletable copy with the old name should be created
  2. Internal links to files or folders should stay permanent, no matter if superior folders are renamed or if files or folders are moved to another folder

Nextcloud Server version

32

Operating system

Other

PHP engine version

Other

Web server

Other

Database engine version

Other

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

I'm using a Managed Nextcloud from a known German hoster, which was recently upgraded to version Nextcloud Hub 10 (31.0.13), which didn't solve the problem.

As it's a managed Nextcloud server, unfortunately I don't know details like server os or php version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap32-feedbackbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions