fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
487 stars 301 forks source link

Statistics bug: oldest mother is a man #3885

Closed BertKoor closed 3 years ago

BertKoor commented 3 years ago

Reported on behalf of forum user jvdmeer in forum thread https://www.webtrees.net/index.php/en/forum/help-for-2-0/35749-according-to-statitics-oldest-mother-is-an-man

The statistics page of the tree shows the oldest mother is a man. Checked the data, it seems correct. Reimported the GEDCOM and it's still there. So this could be a bug in the code. Example GEDCOM file is attached in the forum post.

fisharebest commented 3 years ago

vdmeer-test2.zip

fisharebest commented 3 years ago

The GEDCOM file contains the following family record:

0 @F1586@ FAM
1 WIFE @I79@
1 CHIL @I4418@

This should say

1 HUSB @I79@

You should edit or re-create family F1586

fisharebest commented 3 years ago

@BertKoor - thanks for investigating this.