Ticket #38 (closed review: fixed)
Cascading delete needs to be slightly smarter
| Reported by: | pobrien | Owned by: | mscott |
|---|---|---|---|
| Priority: | normal | Milestone: | Schevo 3.1a1 |
| Component: | All Components | Keywords: | |
| Cc: |
Description (last modified by mscott) (diff)
The cascading delete system needs to be improved to support a number of things:
- Edge cases where a cascading delete is blocked by a reference from some entity that is already known to be deleted during the same transaction.
- Support for EntityList?, EntitySet?, and custom entity-storing fields.
- New REMOVE option for on_delete specs, which implies that if entity A has an EntityList? field that contains entity B, and entity B is deleted, entity B should be removed from the list on entity A.
Also covered in this ticket is allowing direct mutation of EntityList? and EntitySet? field values in a transaction, while making them immutable when attached to entities and views.
ALSO covered are allow_unassigned and allow_duplicates for EntityList?, and allow_empty for EntityList? and EntitySet?.
Change History
Note: See
TracTickets for help on using
tickets.
