Merge pull request #196 from prculley/FTM_photo
Bug (Feature) 9580 Gedcom import of FTM file containing _PHOTO tags
This commit is contained in:
43
data/tests/imp_FTM_PHOTO.ged
Normal file
43
data/tests/imp_FTM_PHOTO.ged
Normal file
@@ -0,0 +1,43 @@
|
||||
0 HEAD
|
||||
1 SOUR FTM
|
||||
2 VERS Family Tree Maker (21.0.0.723)
|
||||
2 NAME Family Tree Maker for Windows
|
||||
2 CORP Ancestry.com
|
||||
3 ADDR 360 W 4800 N
|
||||
4 CONT Provo, UT 84604
|
||||
3 PHON (801) 705-7000
|
||||
1 DEST GED55
|
||||
1 DATE 11 DEC 2013
|
||||
1 CHAR UTF-8
|
||||
1 FILE D:\Family Tree Maker\imp_FTM_OCCU_bug.ged
|
||||
1 SUBM @SUBM@
|
||||
1 GEDC
|
||||
2 VERS 5.5
|
||||
2 FORM LINEAGE-LINKED
|
||||
0 @SUBM@ SUBM
|
||||
0 @I1@ INDI
|
||||
1 NAME The /Tester/
|
||||
1 NOTE The primary photo should be a male Sourpuss in a Hat 03.jpg or Gid:M3
|
||||
1 _PHOTO @M3@
|
||||
1 OBJE @M1@
|
||||
1 OBJE @M2@
|
||||
1 OBJE @M3@
|
||||
1 OBJE @M4@
|
||||
1 OBJE @M5@
|
||||
0 @M1@ OBJE
|
||||
1 FILE O1.jpg
|
||||
2 TITL Ferry Arriving 1910
|
||||
0 @M2@ OBJE
|
||||
1 FILE O2.jpg
|
||||
2 TITL B&W Kids
|
||||
0 @M3@ OBJE
|
||||
1 FILE O3.jpg
|
||||
2 TITL Sourpuss in Hat
|
||||
1 NOTE Should be the selected primary photo
|
||||
0 @M4@ OBJE
|
||||
1 FILE O4.jpg
|
||||
2 TITL Girl Eating
|
||||
0 @M5@ OBJE
|
||||
1 FILE O5.jpg
|
||||
2 TITL Edwin & Janice Smith
|
||||
0 TRLR
|
96
data/tests/imp_FTM_PHOTO.gramps
Normal file
96
data/tests/imp_FTM_PHOTO.gramps
Normal file
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE database PUBLIC "-//Gramps//DTD Gramps XML 1.7.1//EN"
|
||||
"http://gramps-project.org/xml/1.7.1/grampsxml.dtd">
|
||||
<database xmlns="http://gramps-project.org/xml/1.7.1/">
|
||||
<header>
|
||||
<created date="2016-07-14" version="5.0.0-alpha1"/>
|
||||
<researcher>
|
||||
</researcher>
|
||||
</header>
|
||||
<people>
|
||||
<person handle="_0000000100000001" change="1468535650" id="I0001">
|
||||
<gender>U</gender>
|
||||
<name type="Birth Name">
|
||||
<first>The</first>
|
||||
<surname>Tester</surname>
|
||||
</name>
|
||||
<objref hlink="_0000000500000005"/>
|
||||
<objref hlink="_0000000300000003"/>
|
||||
<objref hlink="_0000000400000004"/>
|
||||
<objref hlink="_0000000600000006"/>
|
||||
<objref hlink="_0000000700000007"/>
|
||||
<noteref hlink="_0000000200000002"/>
|
||||
</person>
|
||||
</people>
|
||||
<objects>
|
||||
<object handle="_0000000300000003" change="1468535650" id="M1">
|
||||
<file src="O1.jpg" mime="image/jpeg" description="Ferry Arriving 1910"/>
|
||||
<noteref hlink="_0000000800000008"/>
|
||||
</object>
|
||||
<object handle="_0000000400000004" change="1468535650" id="M2">
|
||||
<file src="O2.jpg" mime="image/jpeg" description="B&W Kids"/>
|
||||
<noteref hlink="_0000000900000009"/>
|
||||
</object>
|
||||
<object handle="_0000000500000005" change="1468535650" id="M3">
|
||||
<file src="O3.jpg" mime="image/jpeg" description="Sourpuss in Hat"/>
|
||||
<noteref hlink="_0000000a0000000a"/>
|
||||
<noteref hlink="_0000000b0000000b"/>
|
||||
</object>
|
||||
<object handle="_0000000600000006" change="1468535650" id="M4">
|
||||
<file src="O4.jpg" mime="image/jpeg" description="Girl Eating"/>
|
||||
<noteref hlink="_0000000c0000000c"/>
|
||||
</object>
|
||||
<object handle="_0000000700000007" change="1468535650" id="M5">
|
||||
<file src="O5.jpg" mime="image/jpeg" description="Edwin & Janice Smith"/>
|
||||
<noteref hlink="_0000000d0000000d"/>
|
||||
</object>
|
||||
</objects>
|
||||
<notes>
|
||||
<note handle="_0000000200000002" change="1468535650" id="N0000" type="General">
|
||||
<text>The primary photo should be a male Sourpuss in a Hat 03.jpg or Gid:M3</text>
|
||||
</note>
|
||||
<note handle="_0000000800000008" change="1468535650" id="N0001" type="GEDCOM import">
|
||||
<text>Records not imported into OBJE (multi-media object) Gramps ID M1:
|
||||
|
||||
Could not import O1.jpg Line 28: 1 FILE O1.jpg</text>
|
||||
<style name="fontface" value="Monospace">
|
||||
<range start="0" end="161"/>
|
||||
</style>
|
||||
</note>
|
||||
<note handle="_0000000900000009" change="1468535650" id="N0002" type="GEDCOM import">
|
||||
<text>Records not imported into OBJE (multi-media object) Gramps ID M2:
|
||||
|
||||
Could not import O2.jpg Line 31: 1 FILE O2.jpg</text>
|
||||
<style name="fontface" value="Monospace">
|
||||
<range start="0" end="161"/>
|
||||
</style>
|
||||
</note>
|
||||
<note handle="_0000000a0000000a" change="1468535650" id="N0003" type="General">
|
||||
<text>Should be the selected primary photo</text>
|
||||
</note>
|
||||
<note handle="_0000000b0000000b" change="1468535650" id="N0004" type="GEDCOM import">
|
||||
<text>Records not imported into OBJE (multi-media object) Gramps ID M3:
|
||||
|
||||
Could not import O3.jpg Line 34: 1 FILE O3.jpg</text>
|
||||
<style name="fontface" value="Monospace">
|
||||
<range start="0" end="161"/>
|
||||
</style>
|
||||
</note>
|
||||
<note handle="_0000000c0000000c" change="1468535650" id="N0005" type="GEDCOM import">
|
||||
<text>Records not imported into OBJE (multi-media object) Gramps ID M4:
|
||||
|
||||
Could not import O4.jpg Line 38: 1 FILE O4.jpg</text>
|
||||
<style name="fontface" value="Monospace">
|
||||
<range start="0" end="161"/>
|
||||
</style>
|
||||
</note>
|
||||
<note handle="_0000000d0000000d" change="1468535650" id="N0006" type="GEDCOM import">
|
||||
<text>Records not imported into OBJE (multi-media object) Gramps ID M5:
|
||||
|
||||
Could not import O5.jpg Line 41: 1 FILE O5.jpg</text>
|
||||
<style name="fontface" value="Monospace">
|
||||
<range start="0" end="161"/>
|
||||
</style>
|
||||
</note>
|
||||
</notes>
|
||||
</database>
|
Reference in New Issue
Block a user