Changes between Initial Version and Version 1 of Ticket #7157, comment 4
- Timestamp:
- 2013-12-14T21:45:36+01:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7157, comment 4
initial v1 13 13 So a first solution is to sort the delete of relation from top to down: first delete relations, which are NOT member of an other relation which will also be deleted. 14 14 15 But an extreme case show, that sorting will not help in all cases: if r1 is member of r2 and r2 is member ofr115 But an extreme case show, that sorting will not help in all cases: if !r1 is member of !r2 and !r2 is member of !r1 16 16 17 17 So deleting all relations which have circular references will be impossible in a single changeset. In this case we need first to update a relation excluding all members, and then delete the relations in the sorted way described above.