Re-appearing ghost accounts
Reported by Virgil Dupras | January 14th, 2012 @ 03:24 PM
From email:
The last account that was deleted keeps reappearing as an income account. It doesn't affect any totals because it doesn't have any transactions in it. But even more weird: the accounts were altered slightly again at a later date and, again the last account to be deleted keeps reappearing.
Then I asked:
- You say the account is empty. So when you delete it, you're not asked to re-assign any transaction upon account deletion right?
- Is it possible that a schedule or a budget still targets this account?
- At what moment exactly does this account re-appear. When you modify a transaction? When you open the file? Both?
And was answered:
The transactions in the account were moved using mass editing PRIOR to deleting the account, so at the time it was deleted, the account was empty. Many transactions were moved and accounts deleted on the days this happened, the ones reappearing are the last to be deleted (or the last alphabetically - I think it was the same as I did them in order) on the days in question. They were both expense accounts and reappear as income accounts, but I think I can understand how this might be the case. The accounts are empty when they reappear.
Budgets are not used for this document at all, but I think you're on to something with schedules. The cleaner's wages are paid every four weeks and I set up a scheduled transaction for this. I fairly the accounts that are reappearing are the expense accounts that were used for this. I don't look on the Schedules tab very often, because when changed occur during the life of a scheduled transaction (such as a change in the wage of the cleaner, or the account to which the expense is allocated, for example) are not updated here. I did as a result of your enquiry and found that the "to" field is empty. Deleting the scheduled transaction, deletes ALL of the transactions ever. I tried stopping the existing schedule and setting up a new one, but that doesn't solve the problem. Now I can't remove the stop date - I usually end any recurring donations by simply deleting the one that doesn't appear and choosing "all future transactions" - I then later delete the recurring transaction in the Schedules tab whenever I'm doing some "housekeeping". I think this is where to focus but can you tell me if it is possible to remove the stop date - I should then make a copy before I try anything else! ;-)
They reappear on opening the file. ie once deleted, I don't see them again (I think!) unless I close the file and then open it again.
And also:
I tried deleting the cleaner's wages scheduled transaction in the bank account and choosing "all future transactions" and then saving the file, closing it and reopening it, but the two offending accounts still reappear.
Comments and changes to this ticket
-
Virgil Dupras January 17th, 2012 @ 07:08 PM
- State changed from new to accepted
- Assigned user set to Virgil Dupras
I could reproduce the bug by assigning schedule spawns to an account (thus creating an exception spawn) and then delete that account. The exception spawn wouldn't be correctly reassigned and would thus become a ghost account.
-
Virgil Dupras January 17th, 2012 @ 07:48 PM
- State changed from accepted to fixed
(from [5f9f771bbbac]) [#295 state:fixed] Fixed a ghost account issue by making account reassignment upon account deletion also affect schedule exception (global and local). https://bitbucket.org/hsoft/moneyguru/changeset/5f9f771bbbac/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป