Description Overview
Observed behavior
The app prevents creating the database, which is correct.
However, the page only shows a generic error message:
The message does not explain that the database file already exists.
The user cannot clearly understand why the database creation failed.
Screenshot:
Expected behavior
When the entered database filename already exists, the app should show a specific error message, such as:
File already exists
Database with this name already exists
The error should clearly indicate that the failure is caused by a duplicate filename.
Database creation should remain blocked until the user enters a unique filename.
How to reproduce
Open the app and go to the New database page.
Select Private app storage as the storage type.
Enter an existing database filename in the File name field, for example test_recent.
Enter a password in the Password field.
Enter the same password in the Confirm field.
Tap the checkmark button in the top-right corner.
Observe the error message shown at the top of the page.
Version
1.16.0 / 11600
Android Version
Android 9
Device Model
Android 9 Emulator
Reactions are currently unavailable
You can’t perform that action at this time.
Overview
Observed behavior
Error has been occurredScreenshot:
Expected behavior
File already existsDatabase with this name already existsHow to reproduce
New databasepage.Private app storageas the storage type.File namefield, for exampletest_recent.Passwordfield.Confirmfield.Version
1.16.0 / 11600
Android Version
Android 9
Device Model
Android 9 Emulator