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
Error when fixing GEDCOM "0 — 1 NAME //" error #171
Comments
Oh, this is a bug. I have to release a new version (before Christmas?). But the recommendation: changing "//" to "" is not ok, because "1 NAME //" is illegal GEDCOM and "1 NAME" is illegal. The recommendation should be: delete "1 NAME". |
You can deactivate my module, delete the "1 NAME" record, and reactivate this module. |
Another version of the error occurs when adding a person with no name |
when you create a person whose name is not known.
with the Extended family module
we must deactivate the module to enter the name then reactivate it (not easy) |
In GEDCOM "no name" is not allowed for "1 NAME". If there is no name then there should be no "1 NAME/2 ...". But again: even if this is illegal GEDCOM there should be no error in my module when you are using such an element. |
if I create the parents of a person with webtrees 2.1.16, I normally fill in the father but the name of the mother is unknown the fields name and first name I leave them empty I just fill in birth, death, marriage.
if I deactivate it no problem.
if I do the same with webtrees 2.1.5, I have no errors the gedcom webtrees 2.1.5 is
I think that there was an evolution between webtrees 2.1.5 and webtrees 2.1.16 and that's why there is an error. thanks to look at this problem |
Ahh! I can see it. Yes there was a change in webtrees to 2.1.16. This is a webtrees bug, too. webtrees should not generate the additional
and
Both are wrong GEDCOM in my opinion. I will write an issue to Greg. You can avoid this at the moment when you add the mother by selecting as "Type of name" an empty option "" instead of "birth name". You should remove now all the wrong "1 NAME\n2 TYPE BIRTH" and "1 NAME //\n2 TYPE BIRTH" by using the regular expression search/replace function. Are you familiar with that? |
thanks |
I have a few "0 — 1 NAME //" tags in my GEDCOM.
GECOM error checking recommends changing "//" to "":
When I follow that advice, I get the following error message in webtrees:
Disabling the hh_extended_family module. fixes this problem.
The text was updated successfully, but these errors were encountered: