Skip to content

[Bug]: Budget templates in tracking budget fail when priority > 0, but work consistently with priority 0 #8422

Closed

Description

@pm-melo

What happened?

Budget templates in a tracking budget appear to stop allocating funds when a priority is set above 0. The same template works consistently when the priority is set to 0. I first noticed this with a long-term savings template. The template was recognized in the UI, and the amount/goal indicator changed color, but no funds were allocated unless the priority was set to 0.

This may be related to previously reported tracking-budget template issues, including one report that says templates in tracking budgets may not get proper available funds and that priorities can affect behavior (ref. 5178).

Notes
This appears specifically tied to the priority field. In my testing, priority 0 works consistently. The problem was observed in a tracking budget, not happening if switched the budget to envelope.

How can we reproduce the issue?

  1. Create or open a tracking budget.
  2. Add a category with a template such as: #template-1 4000 by 2028-01
  3. Run Overwrite with budget template.
  4. Observe that the template is recognized, but no funds are allocated.
  5. Change the same template to: #template 4000 by 2028-01 or set the priority to 0 (UI)
  6. Run Overwrite with budget template again.
  7. Observe that the allocation now works consistently.

Where are you hosting Actual?

Other

What browsers are you seeing the problem on?

Chrome

Operating System

Mac OSX

Activity

  1. added theissue type on Jul 6, 2026
  2. coderabbitai commented on Jul 6, 2026

    @coderabbitai
    Contributor
    ⚠️ Possible Duplicate Issue(s)

    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  3. youngcw commented on Jul 6, 2026

    @youngcw
    Member

    Do you have any funds to budget?

  4. added
    needs infoWe need more information from the OP before continuing
    and removed on Jul 6, 2026
  5. pm-melo commented on Jul 6, 2026

    @pm-melo
    Author

    Yes, I had already validated that, and it is working nicely with the priority as 0

  6. youngcw commented on Jul 6, 2026

    @youngcw
    Member

    If you add a template to your income categories it should work. Its also not a big deal to set the templates to priority 0 in the tracking budget.

  7. added
    goal templatesRelated to the experimental goal templates feature
    and removed
    needs infoWe need more information from the OP before continuing
    on Jul 6, 2026
  8. pm-melo commented on Jul 7, 2026

    @pm-melo
    Author

    Hi @youngcw, can you explain what you mean by "income categories"?

  9. youngcw commented on Jul 7, 2026

    @youngcw
    Member

    The categories dedicated to income at the bottom of your budget

  10. pm-melo commented on Jul 7, 2026

    @pm-melo
    Author

    This whole issue wasn't meant nor related to income categories. I'm using goals and templates on expenses, not income. I don't have/see any value in using this in income categories, unless I'm not fully understanding your note

  11. youngcw commented on Jul 7, 2026

    @youngcw
    Member

    If you add a template(s) to your income categories, then the templates with priorities in the expense categories should work.

  12. youngcw commented on Jul 22, 2026

    @youngcw
    Member

    @pm-melo I believe this update should fix your issue. Can you test it? https://deploy-preview-8549.demo.actualbudget.org/

  13. pm-melo commented on Jul 22, 2026

    @pm-melo
    Author

    @youngcw unfortunately no, I was able to reproduce the same exact issue in that environment.

  14. youngcw commented on Jul 22, 2026

    @youngcw
    Member

    Can you make an example budget file that creates your issue? The example above doesn't have enough info for me to properly test. From what I can tell, that demo build should properly handle all cases in a tracking budget in the expected manner.

  15. pm-melo commented on Jul 22, 2026

    @pm-melo
    Author

    Of course. You can see the one I just used for testing as per your request.

    2026-07-22-My Finances.zip

    If you see, there's a single account for this budget (not relevant for this problem). Then, the Food category has a template with a by 2028-01 clause, which, when "Overwrite with template", produces nothing and the budgeted value becomes yellow. This is specifically for tracking budgets. If you either switch for envelope budget of change the template priority to 0, clicking the "Overwrite with template" works as expected.

  16. youngcw commented on Jul 22, 2026

    @youngcw
    Member

    There are no funds available, thats why the template with a priority budgets 0. So any of the following will allow it to budget

    1. Manually udget some income
    2. Don't use a priority (priority 0)
    3. Add a template to the income section to budget income as part of the template run
  17. pm-melo commented on Jul 22, 2026

    @pm-melo
    Author

    What do you mean by no funds available? The single account configured has a positive income transaction. I don't get this part.

    I get that calculations are different between tracking and envelope budgets, but I don't think it is true that there are no funds available.

  18. youngcw commented on Jul 22, 2026

    @youngcw
    Member

    The value at the top of the budget table is 0. The tracking budget is not meant to hold funds in categories, if you want to hold funds in categories use the envelope budget.

    The whole point of using priorities on the templates is to not budget more money than is available. In the case of a tracking budget, where available funds are per month, you have to have income added to that month to have anything available. Having no priority set is a special case that doesn't care about if you have funds available or not, it just budgets the whole template amount for better or for worse.

  19. pm-melo commented on Jul 22, 2026

    @pm-melo
    Author

    I see what you mean. As the income was there, if we budget the same amount for income it works. In that case, it would just make sense to this if this would be more obvious, but it does appear to be working. Thank you for the help.

  20. added a commit that references this issue on Jul 23, 2026
    6019bf5
  21. added a commit that references this issue on Oct 28, 2026
    d710d57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    goal templatesRelated to the experimental goal templates feature

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions