On the main screen of the Android app, if you attempt to export a database that contains no entries, it will throw an error that it cannot locate the backup file.
Steps To Reproduce
Prerequisites
OneKeePass Android App
New or Existing OneKeePass database which contains no entries.
Steps to Reproduce Issue
Open OneKeePass App
Click on the three dots ⋮next to a blank database on the home screen.
Choose Export To
The following error is returned: API Call Error BackupNotFound: Backup file /data/user/0/com.onekeepassmobile/files/backups/<DB_FILE_NAME> is not found
Expected Result
When clicking Export To, options should appear to share the database via compatible apps/services on the device.
Actual Result
An API Error is thrown stating the backup file is not found.
Screenshots or Videos
Additional Context
Backup feature works fine on DBs with password entries. Guessing the app doesn't create a backup until after the first entry. Not sure which would be preferred:
The app should create a backup immediately on DB Creation.
The option to "Export To" should not appear for DBs with no entries.
A different error message should be presented to the end-user detailing why the backup is unavailable.
Please agree to the following
Summary
On the main screen of the Android app, if you attempt to export a database that contains no entries, it will throw an error that it cannot locate the backup file.
Steps To Reproduce
Prerequisites
Steps to Reproduce Issue
API Call Error BackupNotFound: Backup file /data/user/0/com.onekeepassmobile/files/backups/<DB_FILE_NAME> is not found
Expected Result
When clicking Export To, options should appear to share the database via compatible apps/services on the device.
Actual Result
An API Error is thrown stating the backup file is not found.
Screenshots or Videos
Additional Context
Backup feature works fine on DBs with password entries. Guessing the app doesn't create a backup until after the first entry. Not sure which would be preferred:
Operating System
Android
Operating System Version
13
Device
Asus Zenfone 8 Flip
Build Version
0.7.0