Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing DOB/DOD causes endless loop #1053

Closed
eric215 opened this issue Jul 4, 2016 · 3 comments
Closed

Missing DOB/DOD causes endless loop #1053

eric215 opened this issue Jul 4, 2016 · 3 comments
Labels
bug confirmed bug

Comments

@eric215
Copy link

eric215 commented Jul 4, 2016

Scenario:
Child Born 1816; died 1904
Father - Name known & entered, DOB/DOD not known, no BIRT or DEAT fact created
Mother - Name known & entered, DOB/DOD not known, no BIRT or DEAT fact created

Error:
Displaying the child or parents either directly, on interactive family tree or trying to SEARCH for them results results in a time-exceeded error.

Looks like it is looping evaluating the Father and Mother. I put some debug statements in and I see this sequence of repeated calls:

getTarget for the FAMS tag,
canShow for Father, $ access_level = -1; no restrictions, must be public
getTarget for the FAMS tag,
canShow for Mother, $ access_level = -1; no restrictions, must be public

I couldn't tell where the calls were coming from and couldn't determine which fact was being evaluated.

Workarounds:

Add DEAT = Y either the Mother or Father records
or
Show Private relationships: Show to Visitors

Privacy settings:
Age at which to assume an individual is dead: 120
Extend privacy to dead individuals born in last 0 years or died in last 20 years
Show names of Private individuals: Show to members
Show private relationships: Hide** from all **

Other Settings:
Memory limit: 1024M
PHP Time Limit: 60

@eric215
Copy link
Author

eric215 commented Jul 4, 2016

I should clarify -- the issue above is experienced by the not-logged-in visitors to the website. Members/etc have no issue and see all results.

@fisharebest fisharebest added the bug confirmed bug label Jul 5, 2016
@fisharebest
Copy link
Owner

Confirmed

@fisharebest
Copy link
Owner

This bug was introduced in the fix for #876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed bug
Projects
None yet
Development

No branches or pull requests

2 participants