Bug 168036 - Exif Database should update if image already exists on insert
Summary: Exif Database should update if image already exists on insert
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: EXIF viewer/search (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2008-08-01 20:59 UTC by Jesper Pedersen
Modified: 2016-01-21 22:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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