Photo Organizer

This is the bug tracker for Photo Organizer.
Tasklist

FS#466 - Original photos deleted without adding to database on database write failure

Attached to Project: Photo Organizer
Opened by Jeff Robins (jeffrobins) - Friday, 02 November 2012, 22:15 GMT
Last edited by Solomon Peachy (pizza) - Monday, 03 December 2012, 02:03 GMT
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To No-one
Operating System All
Severity Critical
Priority Normal
Reported Version 2.37
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

I'm having a problem with writing to my database, but reads are fine. I am adding images from a local directory. I am using PO 2.36.1.

When I try to add images, I get red text telling me that the transferring the metadata failed and that PO failed to update the database. Unfortunately, PO still goes ahead with "cleaning up the mess".

Luckily I still have a backup of my photos, but this part of the process could probably use some extra checks and an abort before deleting the files.

Thank you,

Jeff
This task depends upon

Closed by  Solomon Peachy (pizza)
Monday, 03 December 2012, 02:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  It's fixed in -stable and -devel.
Comment by Solomon Peachy (pizza) - Saturday, 03 November 2012, 00:19 GMT
Good catch. I think I have a fix for this, but the fix is against -devel and 2.37:

http://git.shaftnet.org/git/gitweb.cgi?p=po.git;a=commitdiff_plain;h=6d248e5a99e7d2b1c29d2fb7b9e5f33420a9f1fe

That said, you really should upgrade to 2.37 or newer.

Loading...