Skip to content

Checklist notes - last item deletion is being ignored #148

Description

@danfelipe

This is a bug I found recently. Please let me know if you need more info about this.

Description:
When deleting all the items from a checklist note, these change are being ignored. If there are more items, the delete process works as expected.

I'm not attaching logs since there is nothing to see there about this scenario.

Installed app version: 1.53.0

Steps to reproduce:

Step 1: Create a note with multiple items.
Step1

Step 2: Delete all items and save changes.
Step2

Step 3: Note is reverted to the last state, nothing to commit.
Step3

Expected:
Delete changes are detected similar to deleting when there are other entries on the checklist.

Workaround:
So far the workaround for me has been changing the view of the note to raw and manually deleting the content.
Step4

This way changes are detected and I can commit a note without items as expected.
Step5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions