Open DaPoHou opened 5 years ago
There are many ways to create broken links - any change that affects more than one record.
For example
Much more complicated scenarios are possible.
GEDCOM is a data transmission format. It was not designed to be a data storage format.
However webtrees uses it for storage.
It is difficult to solve this problem and still use GEDCOM format.
The only solution I can think of is to require the user to accept the oldest change first (or reject the newest change first).
Sorting by time is a method, but it cannot be completely solved. Can you avoid these mistakes by prejudging? For example, when accepting a family relationship change, first determine whether the involved individual exists. You can judge the basic elements in the gedcom record, such as individual, source, media...Other data is composed of these basic elements linked to each other.
E.g: