cascade delete for hasChildren relationship

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • micha-nerdlichter
    Junior Member
    • Sep 2017
    • 8

    cascade delete for hasChildren relationship

    I created two entities A and B and added a hasChildren relation. Now when I delete the A entity, the children are still there and have broken parent links. Shouldn't there be some kind of cascading delete as soon as I delete the parent? I thought this was the difference between hasMany and hasChildren relations. Have I misunderstood the sense of parent-child-relations?

    The same thing happens using the predfined Case and Meeting entities. As soon as I delete a case that has related meetings, the meetings still exist and have dead links to the non existing case.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    For this you can create hooks

    Comment

    Working...