-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entering new transaction fails in 1.5.3 #277
Comments
Thanks for reporting this. Maybe can you give me an example of the account types involved and I can try to exactly replicate your environment. I tried with some simple account types and everything worked |
Confirming, happens to me as well. Steps:
Android 4.4.2 Just checked with default accounts: records are created. So I think it has something to do with the case when there is just 1 account. |
The bug can be reproduced with @relgames 's procedure. It is because there's no valid account for the other split in the new created transaction, so the creation of the transaction fails. The valid transfer accounts are queried in the DB in TransactionFormFragment.updateTransferAccountsList() . I think a warning should be added when the user tries to create a new transaction in a account but no valid transfer account can be found. Or create an Imbalance account if no valid transfer account is found. |
Checked with 1.5.2 - no issue. |
Checked latest develop branch - it is fixed. |
With 1.5.3 and double-entry activated, entering a new transaction (in completely empty accounts) fails. After pressing "Save", the new transaction just vanishes and is nowhere visible.
When de-activating double-entry, everything works fine. This is on android 4.4.4, , Sony xperia z1 compact.
Also, in version 1.5.2, the entering of new transactions probably worked fine, but my memory might also trick me. For sure in version 1.5.1 all worked fine.
The text was updated successfully, but these errors were encountered: