Thomas, it seems like the code already tries to take care of DEPEND relations,
etc. when trying to delete an instance of ObjectB, as there is code that seems
to walk the complete object graph in terms of dependent objects.
My question is about the sequence of events when deleting an instance of ObjectB
as discussed above. Right now, the current code seems to want to ..
a) delete the instance of ObjectB (SQLEngine.delete())
b) delete the instance of ObjectA (SQLEngine.delete())
c) ???
d) ???
Can you please fill in c) and d) for me, using lines 2288 to 2315. It looks like
d) is about finding all classes that extend ObjectB (directly or indirectly),
and delete them as well. But what is d) about ?
Created an attachment (id=518)
Proposed patch