Project

General

Profile

Actions

Feature #113

open

create test to confirm cascade deletion of user owned entities

Added by Sam Pearson 6 months ago. Updated 23 days ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
01/03/2026
Due date:
% Done:

0%

Estimated time:
Engineering Effort:
medium
App Component:
API Testing
Feature:

Description

Technically the issue below is resolved; see the comments for more info.
This ticket is being held open to create a test to confirm cascade deletion.

When a user is deleted, entities owned by that user are not deleted.

this leaves a bunch of orphaned entities in the database with a user ID that doesn't link to a user.

however, when users are created, the ID associated with them appears to get auto-incremented.

So if you have users 1,2, and 3; and then you delete user 3; you'll have users 1 and 2
you will also have whatever tasks/projects/etc users 3 created still in the database.

if you then create a user, that user will be given user id 3. that user will then own all the entities for the previous user 3.

Actions

Also available in: Atom PDF