User cannot move shared file to shared folder
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Steps to reproduce
- User A shares folder FO (which is located at root) with User B
- User A shares file FI (which is located at root) with User B
- User B moves file FI to folder FO
Expected behaviour
File FI should be succesfully moved to folder FO, since the folder is also shared among both users.
Actual behaviour
In user's B view, it seems that everything worked fine. There is no warning, no error message, nothing. But when user B reloads the page, she sees that moving the file didn't work.
In the other way round, if User B had uploaded a file directly into folder FO, and user A tried to move this file out of this folder, the file will disappear to User B, who uploaded the file, definitely, and User A will have this file in his root folder, not shared. This is the expected behaviour in this direction, but the other way round it's not working as expected.
Server configuration
Nexclout in branch master
Operating system:
Ubuntu 16.04
Web server:
Apache
Database:
MySQL
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
12.0.1
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
Github, branch master
Nextcloud log (data/nextcloud.log)
No error in log when doing this operation.
Browser log
No errors in javascript console nor in network.
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
Reproduce the three sharing and move steps, then check the server operation and reload behavior using data/nextcloud.log and the browser console or network log. Done means User B can move the individually shared file into the shared folder and still see it there after reloading, without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100