gedcom download fails on SUBM rec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webtrees |
Fix Released
|
Low
|
fisharebest |
Bug Description
A tree I could "download" in v1.4.3 now fails in v1.5.2. It reports the following message in the .ged file itself:
1 PLAC
2 FORM City, County, State/Province, Country
1 SUBM @SUBM@
<br />
<b>Fatal error</b>:
Uncaught exception 'Exception' with message 'Unrecognized GEDCOM record:
0 SUBM S1
1 NAME xxxx xxxxxxxxxxx
1 ADDR xxxxxxxxx xx
2 CONT xxxx xx xxxxxxxx
1 EMAIL <email address hidden>
1 PHON xxxx-xxxxxxx, Mobiel' in C:\xampp\
Stack trace:
#0 C:\xampp\
#1 C:\xampp\
#2 {main}
thrown in <b>C:\xampp\
The SUBM record found at the bottom of the exported file is identical to what's shown in this message. The bizarre thing is that "export" on the same tree is OK!
You appear to have
0 SUBM S1
This is not a valid GEDCOM record.
It should be
0 SUBM @S1@
"export" is OK, because it simply dumps data from the database. "download" processes the data as GEDCOM, so it can convert line endings, merge pending changes, correct slashes in filenames, etc.