nextcloud / nextcloud/richdocuments
Renamed document doesn't change name for other users
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Describe the bug
When we share a file to other users and then inside Collabora Online we rename it using "file name input" on the top - file becomes renamed in the storage only for one user (I was renaming using file owner and only file owner saw the new name).
To Reproduce
Steps to reproduce the behavior:
- Open Nextcloud, share some document with other user
- Open shared document with owner of a file and user who get the share
- Rename file using owner view (on the top bar in Collabora Online)
Result: file gets renamed only in one session. Close file, refresh file list, notice that file is not renamed in the list for both of them. Open again in Collabora Online - you will get 2 different names for the same file.
Expected behavior
File should be renamed in all the sessions and both users see the same name in Collabora Online and on the file list.
Screenshots
rename3-2024-02-15_07.54.35.webm
Client details:
Desktop
Server details
Nextcloud version: Nextcloud Hub 7 29.0.0 dev
Version of the richdocuments app 8.4.0-dev
Version of Collabora Online 23.05
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
No file or test entry point is named in the report. Start by reproducing the rename with a shared document using Nextcloud Hub 7, richdocuments 8.4.0-dev, and Collabora Online 23.05; done means both sessions and the file list show the same name after renaming and refreshing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100