Skip to content

v0.13.1: fix force re-import of a parent ticket with children

Choose a tag to compare

@edwilde edwilde released this 02 Sep 03:26
· 20 commits to main since this release
v0.13.1
ff86de3

Fix: a forced import_json that replaced a ticket which still had children failed with NOT NULL constraint failed: tickets.project_id. The composite (project_id, parent_id) FK is ON DELETE SET NULL, and SQLite nulls every column of the child key. insertBatch now detaches children before deleting each colliding ticket. Regression test added.