Project

General

Profile

Feature #8394

Trouble when deleting images with duplicates

Added by Tobias Ellinghaus over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
High
Category:
General
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

From ad1d3bcdff1ddd3578b19c43e8d8d8a4e353a0a4

If an image with duplicates is removed, and these duplicates were created after the one which got removed (i.e. the imgid of the duplicates is bigger), then the xmp filenames of these images will change. In the best case they will be decreased by 1 so that the xmp file of the image with the biggest id will be on disk twice. In the worst case, some xmp files will be decreased, overwriting the sidecars of others. Not good. We either have to keep track of the version number of every image in the db so that it will never change. Or we could delete+recreate all the xmp files of affected images.

History

#1 Updated by Johannes Hanika over 8 years ago

fixed by jsogo's patch. thanks :)

Also available in: Atom PDF

Go to top