Early (wrong) birthdate of parent allows living children to be displayed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webtrees |
Fix Released
|
Wishlist
|
fisharebest |
Bug Description
In error, I typed 1676 as the year of birth of a parent. I then found that his children with birth dates after 1920 became visible to casual visitors despite my privacy setting of 100 years. This occurred in my V1.3.2 but it also occurs in latest demo version.
It seems that some privacy calculations are over-riding the actual birth dates of the children when a parent is born well before their child. I have not done an exhaustive analysis but in the demo version I changed Prince Phillip's DOB from 1921 to 1621 and then logged out. I was then able to locate Charles and Anne and their details were visible. I changed the DOB of Prince Phillip back to 1921, logged out and then the details of Charles and Anne were not visible.
I have not done an exhaustive analysis as I thought this was important enough to report immediately.
Changed in webtrees: | |
status: | New → Invalid |
The privacy calculations do NOT look for reasons why someone is alive.
They look for reasons why someone is dead.
If no reasons are found (perhaps because no dates are available), then they are assumed to be alive.
In your case, the individual is considered dead because they have a parent with an event more than 45 + max-alive-years years ago.
This is working as designed. Although it is always possible to add more rules/checks/ complexity to the calculations, performance is critical here, and the current algorithm is reasonably fast.