nextcloud / nextcloud/notes

Cannot share a folder of notes

Open
#1,706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need to reproduce
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

  1. Create a folder with notes within /Notes
  2. Share that folder with a group user
  3. 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:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ```

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.