Share

The Megatron Daemon

Tracker: Bugs

7 importmodule changes database on failed album import - ID: 2750337
Last Update: Comment added ( tantricengineer )

this should not happen - a failed album import for any reason should not
alter the db. instead, the track paths get changed to the active archive
directory even though the pending status is unchanged


KWUR Tech ( kwurtech ) - 2009-04-10 13:04

7

Closed

Fixed

Shanks

The Robot (megatrond)

None

Public


Comment ( 1 )

Date: 2009-04-10 13:09
Sender: tantricengineer

restructured approvePending(id) and move(id) methods to degrade in the
event of a failed import. album approval now happens in the following
way:
1) try to move the album -> if this fails, we return error
2) if we successfully move album -> alter database to set album pending
status to 0 and alter track paths


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-04-10 13:09 tantricengineer
resolution_id None 2009-04-10 13:09 tantricengineer
allow_comments 1 2009-04-10 13:09 tantricengineer
close_date - 2009-04-10 13:09 tantricengineer
assigned_to nobody 2009-04-10 13:06 kwurtech