You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Back in your browser, use the breadcrumbs to go back to your space
Use the trashcan icon to delete the list
Rerun the above query
Expected result:
The deleted list and its todo items are no longer in the database
Actual result:
The list is deleted correctly from the List table and the OwnedItem table
The list's todo items are deleted correctly from the Todo table, but not from the OwnedItem table
NOTE:
In the repo the base model is at packages/@erikdakoda/auth/models/ownedItem.zmodel
The extended List model is at packages/@erikdakoda/todo/list.zmodel
The extended Todo model is at packages/@erikdakoda/todo/todo.zmodel
The text was updated successfully, but these errors were encountered:
ErikDakoda
changed the title
Cascade delete of an extended model item does not delete its base model item
[Bug] Cascade delete of an extended model item does not delete its base model item
Apr 30, 2025
ErikDakoda
changed the title
[Bug] Cascade delete of an extended model item does not delete its base model item
Cascade delete of an extended model item does not delete its base model item
Apr 30, 2025
ErikDakoda
changed the title
Cascade delete of an extended model item does not delete its base model item
[Bug] Cascade delete of an extended model item does not delete its base model item
May 1, 2025
Description and expected behavior
Cascade delete of an extended model item does not delete its base model item
Environment (please complete the following information):
Steps to reproduce
Expected result:
The deleted list and its todo items are no longer in the database
Actual result:
The list is deleted correctly from the List table and the OwnedItem table
The list's todo items are deleted correctly from the Todo table, but not from the OwnedItem table
NOTE:
packages/@erikdakoda/auth/models/ownedItem.zmodel
packages/@erikdakoda/todo/list.zmodel
packages/@erikdakoda/todo/todo.zmodel
The text was updated successfully, but these errors were encountered: