[Bug]: Renaming a file does not update an opened sidebar [fixed in NC33]
Open
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: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Renaming a file does not update an opened sidebar, leading to failures when trying to share.
Steps to reproduce
- Open sidebar on file A
- Rename file A to B
- Notice that the sidebar still shows the name A
- (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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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