Bug 168036

Summary: Exif Database should update if image already exists on insert
Product: [Applications] kphotoalbum Reporter: Jesper Pedersen <blackie>
Component: EXIF viewer/searchAssignee: KPhotoAlbum Bugs <kphotoalbum-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: johannes, risto
Priority: NOR Keywords: junior-jobs
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jesper Pedersen 2008-08-01 20:59:14 UTC
In case the user chooses to reread EXIF, or in the case that an image is tried to be inserted a 
second time (e.g. because the regular KPA DB was not saved the first time), then an error is 
shown since we try to insert. In that case we should update instead.

The code in question is in Exif::Database::insert
Comment 1 Risto H. Kurppa 2012-03-01 11:39:25 UTC
Is this closely related to https://bugs.kde.org/show_bug.cgi?id=207698 ?
Comment 2 Risto H. Kurppa 2012-03-01 11:55:42 UTC
and https://bugs.kde.org/show_bug.cgi?id=220372
Comment 3 Johannes Zarl-Zierl 2016-01-21 22:38:37 UTC
Fixed in commit 9178127