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
'Events of close relatives' only listed for first associate #1192
Comments
Is there any idea, when this issue will be solved? |
This item is closed, but the bug is not solved in v 1.7.11 |
Where do you see that this issue is closed? |
Me too, I would like that somebody will do the neccessary to solve the bug and close the issue. |
Please explain me, why I can't see a change in the behavior of my database. I understood that you changed the code and closed the issue, but I see only one chagement. But nevetheless only the first relative of a person will show the relationship to this person. |
You asked the same question on the fourm.
You must give me a hint. |
This bug has been discussed as while ago in https://www.webtrees.net/index.php/en/forum/help-for-ver-1-7-4/31323-how-to-add-other-kind-of-related-person, but apparently not reported here:
On the 'Facts and Events' tab, in the list of 'Events of close relatives' of an Individual Ix, an associate event is only displayed if Ix is listed as the first associate of the respective event (e.g. as the first godparent).
This is because
associateFacts
inIndividualFactsTabModule.php
only checks for the first attribute ($fact->getAttribute('_ASSO')
/$fact->getAttribute('ASSO')
). Here, all ASSO/_ASSO attributes should be used instead, e.g. via a new function inFact.php
:The text was updated successfully, but these errors were encountered: