Skip to content

Attachments in shared notes are deleted after adding a category #1470

Open
@mserwan

Description

@mserwan

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions