Attachments in shared notes are deleted after adding a category
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
Bug Description
When a shared note is categorized by the recipient (without changing ownership), all attachments (e.g., images, videos) within the note are deleted from the server. This issue occurs specifically when the shared user modifies the note's category.
Steps to reproduce
User A creates a note with attachments (e.g., images, videos) in the Notes app.
User A shares the note with User B.
User B changes the category of the shared note (e.g., assigns it to "Work" or "Personal").
Check the note content after the category change.
Expected behaviour
The note and its attachments (images, videos, etc.) should remain intact when the recipient changes the category of a shared note.
Actual behaviour
Attachments within the note are deleted from the server, and the note no longer displays them. A "Failed to load" error appears for the missing attachments.
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 is named. Start by reproducing the category change with a shared note containing attachments, then trace the shared-note category update and attachment persistence or deletion path. Done means changing the recipient's category preserves all attachments and they no longer produce a "Failed to load" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100