Skip to content

failed to delete notes when permanently deleting multi notes with children notes #7293

@PawsFunctions

Description

@PawsFunctions

Description

Maybe related to #7288

When attempting to permanently delete two notes—one that contains child notes ("Test 1") and another that may or may not have children ("Test 2")—the behavior is highly unpredictable.

  • Sometimes all notes are deleted as expected.
  • Other times, no notes are deleted at all.
  • Occasionally, only some notes are deleted while others remain.
Image Image

TriliumNext Version

0.99.1

What operating system are you using?

Ubuntu

What is your setup?

Local + server sync

Operating System Version

Ubuntu 24.04.3 LTS

Error logs

16:20:47 Creating new CKEditor
app_context.js:20 16:20:48 CKEditor state changed to ready
 16:20:59 Frontend app reload: notes '75AAVOM6x901' is erased, need to do complete reload.
 16:20:59 Frontend app reload: notes 'DB9bC5j3Y5iA' is erased, need to do complete reload.
 16:20:59 Frontend app reload: notes 'RcbS0EcGh8Qs' is erased, need to do complete reload.
 16:20:59 Frontend app reload: notes 'qT6yzkO256sh' is erased, need to do complete reload.
 16:20:59 Frontend app reload: branches 'qT6yzkO256sh_75AAVOM6x901' is erased, need to do complete reload.
 16:20:59 Frontend app reload: branches 'qT6yzkO256sh_DB9bC5j3Y5iA' is erased, need to do complete reload.
 16:20:59 Frontend app reload: branches 'qT6yzkO256sh_RcbS0EcGh8Qs' is erased, need to do complete reload.
 16:20:59 Frontend app reload: branches 'root_qT6yzkO256sh' is erased, need to do complete reload.

Note ID: 3h3sahaoQFD0 is not deleted, it was visible in list

Test 2

16:27:29 Frontend app reload: notes '3h3sahaoQFD0' is erased, need to do complete reload.
 16:27:29 Frontend app reload: branches 'root_3h3sahaoQFD0' is erased, need to do complete reload.

The entire "Test 1" note tree was not deleted

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions