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]: Stacked by templates don't function properly #3834

Open
2 tasks done
mbrijun opened this issue Nov 14, 2024 · 3 comments
Open
2 tasks done

[Bug]: Stacked by templates don't function properly #3834

mbrijun opened this issue Nov 14, 2024 · 3 comments
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature

Comments

@mbrijun
Copy link

mbrijun commented Nov 14, 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?

I am testing a template (shown at the botton of the post), consisting of multiple one-off goals. This is what it manages to budget:

Nov = 950.00 (total: 950.00)
Dec = 808.33 (total: 1758.33)
Jan = 704.17 (total: 2462.50)
Feb = 179.17 (total: 2641.67)
Mar = 0.00 (total: 2641.67)
Apr = 0.00 (total: 2641.67)

As we can see, instead of saving 4000 by April, we have managed to save only 2641.67. It is important to note that none of the money has been "spent" in this simulation.

#template 1000 by 2025-01
#template 1000 by 2025-02
#template 1000 by 2025-03
#template 1000 by 2025-04

Where are you hosting Actual?

Locally via Yarn

What browsers are you seeing the problem on?

Firefox

Operating System

Windows 11

@mbrijun mbrijun added the bug Something isn't working label Nov 14, 2024
@youngcw youngcw added the goal templates Related to the experimental goal templates feature label Nov 14, 2024
@youngcw youngcw changed the title [Bug]: Template, consisting of several goals, fails [Bug]: Stacked by templates don't function properly Nov 15, 2024
@youngcw
Copy link
Member

youngcw commented Nov 15, 2024

Your issue is that there aren't charges in the expected months, so the templates think you are good since there is enough money in the time its needed. If you add in the 1000 charge in each of the months you said you need it, the template works right.

@mbrijun
Copy link
Author

mbrijun commented Nov 16, 2024

Your issue is that there aren't charges in the expected months, so the templates think you are good since there is enough money in the time its needed. If you add in the 1000 charge in each of the months you said you need it, the template works right.

@youngcw - thank you very much for looking into this issue.

While I fully understand there are other opinions, in my view this behaviour is unintuitive at best, and dangerous at worst. What if the circumstances have changed and instead of spending 1000 in Jan, 1000 in Feb and 1000 in March, I now need to make a single payment of 3000 in March? I would be short, as only 2641.67 is in that envelope. On the other hand, I would not have any shortfall if I was using 4 individual savings goals, each with their own template.

@youngcw
Copy link
Member

youngcw commented Nov 18, 2024

If your goals change wouldn't you then need to change the template to match? The primary issue at hand is that the template only has so much information to go off of. It doesn't know that your spend date changed and can only assume that the balance going forward is available to the remaining templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature
Projects
None yet
Development

No branches or pull requests

2 participants