codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.23k stars 540 forks source link

App crashes on split transaction when only one account is present #813

Open ghost opened 5 years ago

ghost commented 5 years ago

Steps to reproduce the behaviour

  1. Select 'Let me handle it' in Account Setup while launching.
  2. Add a new account without any sub-accounts.
  3. Add a new transaction in that account.
  4. Enter an amount and select the split option.
  5. Application crashes.

If you have selected others in Account Setup while launching, you can delete all the accounts and sub-accounts except one and follow the above steps to reproduce the issue.

The application crashes when we try to split while adding a new transaction when only one account/sub-account is present.

Expected behaviour

Should inform the user that split is not possible when only one account is present

Actual behaviour

Application crashes

Software specifications