Photo Organizer

Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Normal
  • Reported Version 2.37
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Photo Organizer
Opened by Jeff Robins (jeffrobins) - 2012-11-02
Last edited by Solomon Peachy (pizza) - 2012-12-03

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

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 does not depend on any other tasks.

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.
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...