Skip to content
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

[Bug]: Starting Balance not created if other accounts create transfers #3218

Open
2 tasks done
DaAwesomeP opened this issue Aug 8, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@DaAwesomeP
Copy link

DaAwesomeP commented Aug 8, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

When syncing with SimpleFIN (and possibly others but not tested), the "Starting Balance" item is not created in an empty account if rules from other accounts create transfers to/from the empty account

Possible resolution: When syncing an account, the Starting Balance item should be created if all of the items in an account are transfers that originated to/from other accounts' items (or the account is otherwise empty).

To reproduce:

  1. Create some accounts with SimpleFIN (or possibly other sync/import methods I did not test)
  2. Rename them to Account 1 and Account 2 (this affects the order that they sync)
  3. Create a rule to mark an item in Account 1 as a transfer to Account 2 (rule is pre, match account 1, set payee to account 2)
  4. Delete all of the items in both accounts
  5. Click the sync all accounts button from the "All Accounts" page to add back all of the items
  6. Account 1 will sync fine and will have a Starting Balance. The rule will create transfers in the otherwise empty Account 2.
  7. After Account 1 finishes syncing, Account 2 will begin to sync and will not create the Starting Balance item because it already contains some items (the transfers from Account 1).

I discovered this while initially setting up my Actual installation. I syncing all of my accounts, then created a bunch of rules to mark all of the transfers, and then deleted everything so that when I synced again all of the duplicates would be resolved. The duplicates would only resolve if I first deleted everything before syncing.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Linux

@DaAwesomeP DaAwesomeP added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant