Batch update- remove duplicate links, losing data
Bug #917673 reported by
Lex Oulu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webtrees |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Performed a test run to remove duplicate links, by using Batch Update.
Noticed that in certain unknown conditions, the program will remove not only the duplicate link, but also the original link from the `wt_individuals` table `i_gedcom` field.
This means all occurrences of (for example)1 OBJE @Mxxx@ are removed. The program should of retained one occurrence and remove the duplicates. In this example, the photo will no longer be shown on the individual page /tabs.
I will try to create test cases.
To post a comment you must log in.
In attached file a simple test case, 2 persons = 1 family.
When running the batch update - remove duplicates, after a few cycles of running it
you will see the line
1 OBJE @M8@
will be totally removed = lost data.