When adding account, empty user/password allowed, sometimes crash on edit
Steps
- Go to account chooser screen
- Add new account
- Put anything in for
Host
, e.g.example.com
- Go to next page, skip filling out fields, go to next
- Notice that user/password page allows skipping despite empty fields
- Put anything in for
Account name
- Add account
- Connect to account, disconnect
- Edit account
- If crash, edit account again
Expected
Empty Username
and Password
are not allowed when adding a core account.
QuasselDroid does not crash when editing if this situation happens anyways.
Editing the account works as usual.
Actual
QuasselDroid accepts an empty Username
and Password
.
One of these times, trying to edit the account afterwards to fix the situation results in a crash. Trying to edit the account after that crash allowed fixing the situation, but the User
validation glitched, showing Username cannot be empty
twice, one of them never disappearing.
Additional
I can't recreate the crash at the moment, but the user/password allowing empty is broken reliably.
Crash log from editing empty account
Quasseldroid-v0.4.0-182-g3444dbf-debug - 2018-5-23 - crash after empty account.txt
Screenshot of QuasselTest edit formerly-empty account after crash, Username
validation bug