GNOME Bugzilla – Bug 559740
F-Spot creates a photo_versions for 'Original' version
Last modified: 2010-06-08 09:44:01 UTC
F-Spot creates a photo_versions row for 'Original' version, but this shouldn't happen.
Problem is cause by 1. Photo constructor calls AddVersionUnsafely for original photo id 2. AddVersionUnsafely performs changes.AddVersion If the photo is then stored to the database is creates an entry in photo versions for the original photo because it is in VersionsAdded of the PhotoChanges
Created attachment 123761 [details] [review] Don't store original versions in photo_versions
And why is this a bug?
(In reply to comment #3) > And why is this a bug? because with version 0 in photo_Versions, photo table is useless... this table should hold only modifications.
No, the real bug is the fact that this data is also in photos. Which doesn't make sense because it is only a property of a version (and original is a version too).
well, not really, there are properties that apply to a photo, regardless of the version (e.g. the time it was taken). The filename though is specific to the version.