nextcloud / nextcloud/server

[Bug]: Renaming a file does not update an opened sidebar [fixed in NC33]

Open
#51,408 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug feature: files
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Renaming a file does not update an opened sidebar, leading to failures when trying to share.

Steps to reproduce
  1. Open sidebar on file A
  2. Rename file A to B
  3. Notice that the sidebar still shows the name A
  4. (Optional) Try to share the file from the sidebar, it does not work as the path is not found anymore

https://github.com/user-attachments/assets/dea2bac1-925a-4ae3-b7c5-ae9017dda7a2

Expected behavior

Sidebar should be updated on rename.

Nextcloud Server version

master

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no file or test entry point and says the bug was fixed in NC33. Verify the rename flow and sidebar sharing behavior on NC33, then identify the affected sidebar entry point and regression tests to confirm that the sidebar updates and sharing still work after a rename.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.