SVN:1180, GEDCOM & DB media error after import
Brought to you by:
canajun2eh,
yalnifj
Hi,
I have just imported my GEDCOM and noticed that, PGV adds some media lines to the GEDCOM and into the Database.
The media ID's will be duplicated after the import. As an example, this is one individuals record in both the GEDCOM and the DB, these are the EXTRA added lines:
1 OBJE @M8@
2 _PRIM Y
1 OBJE @M7@
2 OBJE @M6@
3 OBJE @M5@
3 OBJE @M4@
1 OBJE @M8@
2 _PRIM Y
1 OBJE @M7@
2 OBJE @M6@
3 OBJE @M5@
3 OBJE @M4@
1 OBJE @M9@
3 OBJE @M4@
3 OBJE @M5@
2 OBJE @M6@
1 OBJE @M7@
1 OBJE @M8@
2 _PRIM Y
1 OBJE @M9@
3 OBJE @M4@
3 OBJE @M5@
2 OBJE @M6@
1 OBJE @M7@
1 OBJE @M8@
2 _PRIM Y
1 OBJE @M9@
One more thing. Why is the media record gets deleted from the GEDCOM after the import?
Regards,
-Im
Logged In: YES
user_id=1262354
Originator: YES
Hi,
This bug is still present in 4.1 Stable and SVN. Maybe a better description is needed.
There are two ways to reproduce this.
1) If you have a GEDCOM already imported, do not delete it, just re-import it.
Erase the old data and keep the media links. Continue with the import.
2) If you have a backup zip file, extract all files and import that GEDCOM.
It seems that if gedcoms.php is present then all the media records will be deleted and the media links will be multiplied as described.
Thanks,
-Im