Bug 148369 - Login failure when changing to PostgreSQL database deletes podcast list
Summary: Login failure when changing to PostgreSQL database deletes podcast list
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: Podcast (show other bugs)
Version: 1.4.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 19:37 UTC by Daniel Aleksandersen
Modified: 2008-07-03 12:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Aleksandersen 2007-07-30 19:37:45 UTC
Version:           1.4.6 (using KDE 3.5.7, Kubuntu (feisty) 4:3.5.7-0ubuntu1~feisty2)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.20-15-generic

Hi,

I typed the wrong username when changing from SQLite to a PostgreSQL database. This gave me an database connection error message. At the same time I saw the entries in my list of podcast be deleted one by one until there were no one left.

Entering the correct password did not recover the podcastl. Nor did changing back to SQLite or restarting the PostgreSQL server or restarting Amarok.

I managed to reproduce the bug with one test podcast subscription and another invalid database login.

Suggested fix: Do not accept database change before connection to new database has been established. This way data should not get lost when there is an error.
Comment 1 Daniel Aleksandersen 2007-07-30 19:39:33 UTC
Notably I have not restarted my system after installing PostgreSQL. I am not sure whether this might be related. However suggested fix would have avoided the data loss non the less.
Comment 2 David Leutwyler 2008-06-15 20:55:48 UTC
Amarok 1.4.x is in bugfix-only mode as development is focused on Amarok 2. Unfortunately your bug will very likely not get fixed, as the risk of regressions is too high and the Amarok developers do not have the resources for it. Thank you for your report though. Please don't hesitate to report new bugs should you have any problems with Amarok 2 once it is released.
Comment 3 Seb Ruiz 2008-07-03 12:54:00 UTC
Sorry, not going to be fixed because we are unlikely to pickup psql in Amarok 2.