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]: Budget Goal Templates - Cannot combine "repeat every X months/years" and "up to" #3504

Closed
2 tasks done
ChiaraBells opened this issue Sep 25, 2024 · 2 comments
Closed
2 tasks done
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature

Comments

@ChiaraBells
Copy link

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 having trouble with a specific kind of budget template. The documentation provides a number of examples, including the following:

#template $10 repeat every 9 weeks starting 2025-01-04 up to 30

This works perfectly. The following two examples (with months/years instead of weeks), however, do not work:

#template $10 repeat every 9 months starting 2025-01-04 up to 30

#template $10 repeat every 9 years starting 2025-01-04 up to 30

When clicking on "check templates" I see the error "There were errors interpreting some templates: [...]".

I do not see any reason why this type of template would not work.

In the documentation, all templates including months or years don't include "starting ..." but rather "by ...". Therefore I also tried combining the following, which all end in errors:

#template $500 by 2025-03 repeat every 6 months up to 600
#template $500 up to 600 by 2025-03 repeat every 6 months
#template $500 by 2025-03 up to 600 repeat every 6 months

It would be great if this bug could be fixed / this functionality could be added to months and years as well as weeks. If there is a way to do it already, it would be awesome if that could be included in the documentation.

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

Firefox

Operating System

Windows 10

@ChiaraBells ChiaraBells added the bug Something isn't working label Sep 25, 2024
@youngcw youngcw added the goal templates Related to the experimental goal templates feature label Sep 25, 2024
@youngcw
Copy link
Member

youngcw commented Oct 18, 2024

does it work if you add an up to as a separate template? for example add the repeat template on its own line then add a #template up to 30 on its own line?

@youngcw
Copy link
Member

youngcw commented Oct 18, 2024

Im going to close this as the docs don't show that you can use both repeat and up to together. Try using separate lines like mentioned above.

@youngcw youngcw closed this as completed Oct 18, 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 goal templates Related to the experimental goal templates feature
Projects
None yet
Development

No branches or pull requests

2 participants