Project

General

Profile

Bug #450

KeePassX 2 indicates the database has been saved when it hasn't

Added by Danyil Bohdan almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Operating System:
Linux
Affected version:
Affected revision:

Description

The following problem caused data loss for me.

Steps to reproduce

1. Create a new database in KeePassX 2.
2. Save it as ~/a/passwords.kdbx.
3. Rename ~/a/ to ~/b/.
4. Create a new entry in KeePassX. The title of the window will display "passwords.kdbx* - KeePassX" to indicate the file has been modified.
5. Press Control+S. The title will change to "passwords.kdbx* - KeePassX" as though the database been saved. However, the changes are not written anywhere, as far as I can tell.

Associated revisions

Revision fb57ed2b
Added by Felix Geyer over 2 years ago

Add proper error handling when QSaveFile::open() fails.

Based on pull request by Valeriy <>

Closes #450

History

#1 Updated by Danyil Bohdan almost 3 years ago

In step 5 I meant to write that the title will change to "passwords.kdbx - KeePassX" — without the asterisk.

#2 Updated by Felix Geyer over 2 years ago

  • Status changed from New to Closed

#3 Updated by Felix Geyer over 2 years ago

  • Target version set to 2.0.3

Also available in: Atom PDF