Skip to content

[Bug]: Failed to load notifications when a board deleted #8115

Description

@luka-nextcloud

Describe the bug
If a remain notification related to a deleted board, loading notifications will return error:

Internal Server Error\nDid expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*deck_boards` WHERE (`id` = :dcValue2) AND (`deleted_at` = :dcValue1) ORDER BY `id` ASC\";

To Reproduce
Steps to reproduce the behavior:

  1. Login as user A
  1. Enable Deck notification A board, list or card was changed
  2. Create a Board1
  3. Share Board1 to user B
  1. Login as user B
  1. Rename Board1
  1. Login as user A
  1. See notification that Board1 has been renamed
  2. Delete Board1
  3. Reload notifications list

Expected behavior
The notifications are loaded successfully.

Metadata

Metadata

Type

No fields configured for Bug.

Projects

Status
📄 To do (~10 entries)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions