ShammyLevva / FTAnalyzer

Family Tree Analyzer - Finds hidden details in your family tree. Install at
http://www.ftanalyzer.com/install
Apache License 2.0
54 stars 22 forks source link

[BUG] Loose birth error on entry with little information, always given date+1 year #295

Open brianfreud opened 1 year ago

brianfreud commented 1 year ago

Version Number problem appears in Occurs with both 8.5.2.0 and 10.0.0.0-beta3.

Describe the bug This is a person with minimal information. Essentially, all that is there is that he was employed on ABT 10 OCT 1817, with an inferred loose birth BEF 9 OCT 1803. The loose birth can be changed; the same issue happened when it was set to BEF 9 OCT 1817.

To Reproduce Steps to reproduce the behavior: Load the gedcom, check the loose births tab.

Expected behavior Given an event of a type without otherwise coded dating criteria (eg: marriage, childbirth, etc), we can still infer that their birth happened before that event. However, no matter what I set the birth date to here, FTA always recommends that date be changed to that date+1 year. Ie, ABT 10 OCT 1817 -> ABT 10 OCT 1818 (after the singular event attached to the record), ABT 10 OCT 1803 -> ABT 10 OCT 1804, and so on.

See attached gedcom. Non-Weiterode Schweitzers_2023-05-29_02.ged.zip

ShammyLevva commented 6 months ago

Likely to be the issue is an ABT used on an exact date (ie: a date with all three parts day, month, year). It's perfectly understandable to say it was about that date as we aren't sure. I suspect however I've not covered that particular edge case of an ABT with all three date parts present.