Cannot share a folder of notes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
Please make a clear and concise description of what the bug is.
Cannot share a folder of notes. Individual notes can indeed be shared with a user and correctly appear in the /Notes folder. However, sharing a folder with several notes fails: the folder is shared, but shows up at the "sharees" root, not within /Notes. The resulting share therefore isn't recognised as containing notes. This makes it impossible to share notes that respect the folder hierarchy (with folders that appear as tags in the Notes app).
Steps to reproduce
- Create a folder with notes within /Notes
- Share that folder with a group user
- As a share recipient, try to find shared notes within that folder or a tag corresponding to the shared folder name.
Expected behaviour
Notes within shared subfolders of /Notes (for example /Notes/partage) should show up in the Notes app (with the corresponding "partage" tag) and the /partage subfolder should appear as shares within /Notes (not at the root).
This used to work, it broke for me a couple of weeks ago!
Actual behaviour
Individual notes can indeed be shared with a user and correctly appear in the /Notes folder. However, sharing a folder with several notes fails: the folder is shared, but shows up at the "sharee's" root, not within /Notes. The resulting share therefore isn't recognised as containing notes. This makes it impossible to share notes that respect the folder hierarchy (with folders that appear as tags in the Notes app).
Additionally, when trying to move the share from the root to /Notes, I get a "Node for share not found" error warning.
Screenshots
n.a.
Server
Please complete the following information.
- Notes app version: 4.12.4
- Nextcloud version: [Nextcloud Hub 25 Autumn] (32.0.3)
- OS: ?
- Web server: ?
- PHP version: ?
- Database: ?
Sorry, I'm a noob, many things I don't know!
Nextcloud configuration:
Client
Please complete the following information.
- Browser (incl. version): Firefox 145.0.1 (aarch64)
- OS: MaOS Tahoe 26.1
Log files
Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.
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
Start by reproducing the folder-sharing steps in the Notes app, checking the shared folder's location and the "Node for share not found" warning. Trace the sharing and folder-hierarchy handling from that behavior; done means shared subfolders of /Notes appear under /Notes for recipients and their corresponding tags are recognized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100