[BUG] modifying entry via this app breaks the whole database
Checks
- [x] I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:
I just modified one of the string fields for one entry and it breaks the whole database! See the screenshots..
The kdbx file is suddenly 0 byes in size. Since I'm modifying it directly it corrupted the file remotely. Luckily I have a backup but this is serious.
I'm on Android 15, latest app version (just got updated today).
Describe what you expected to happen:
No response
What version of Keepass2Android are you using?
1.14-r0
Which version of Android are you on?
15
I can confirm this bug, faced the same issue today. Issue happened with remotely connected Nextcloud: added entry, saved, error. restored backup from outside of keepass2android.
Keepass2Android Version: 1.14-r0 Android Version: 14
if you are using Webdav, this should be fixed by 1.14-r1. Can you please test this?
Yes, it's fixed in that version.
My database ist secured via challenge response mechanism. After a sync of the database the kdbx is fine but the XML is broken. Could this issue be related to the same root cause? O am also using version 1.14-r0.
@schmidtch89 if the xml is stored on Webdav, please switch to 1.14-r1.
@PhilippC Is the fix doing the rename now? I see my database being copied as .bak and then renamed. The original database is deleted on the Nextcloud. This breaks the file history, and I don't like that. It used to just overwrite the file.
@cardil please disable file transactions in settings/app/file handling to get the old behavior.