DavidMStraub / gramps-web-sync

Development version of a Gramps addon to synchronize Gramps Web with Gramps Desktop
GNU General Public License v3.0
12 stars 2 forks source link

Images with same filenames and content can be stored as duplicate objects/records #21

Closed dsoprea closed 1 year ago

dsoprea commented 1 year ago

image

Both an archive and a sync were used to upload them.

dsoprea commented 1 year ago

Actually, it looks like, for each group of three, one has a thumbnail but no link, one has a link but no thumbnail, and one has both a thumbnail and a link. This holds for at least four of the groups near the top.

DavidMStraub commented 1 year ago

What do you mean my "a thumbnail" or "a link"? You could look at the raw JSON response (dev tools) to see how the media objects differ.

In general, a sync will not duplicate a media object unless the handles are different. An import might well lead to duplicates if they are already there.

dsoprea commented 1 year ago

"Thumbnail" means it shows a picture preview under that asset. "Link" means that it shows an associated, clickable person underneath.

dsoprea commented 1 year ago

So, the takeaway is just to always sync and never import if the account is non-empty.

DavidMStraub commented 1 year ago

Yes, sort of. The import function is still useful to import additional data, e.g. from a GEDCOM somebody has shared with you. Any suggestions to improve the documentation at https://github.com/gramps-project/web to make this clearer are highly welcome.