[PR #1738] [MERGED] [Bugfix]: Goals - Fixed an overbudgeting condition #3929

Closed
opened 2026-02-28 20:48:59 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1738
Author: @shall0pass
Created: 9/26/2023
Status: Merged
Merged: 9/26/2023
Merged by: @shall0pass

Base: masterHead: goals_overbudget


📝 Commits (2)

📊 Changes

2 files changed (+9 additions, -0 deletions)

View changed files

📝 packages/loot-core/src/server/budget/goaltemplates.ts (+3 -0)
upcoming-release-notes/1738.md (+6 -0)

📄 Description

If a category had two templates, it was possible to overbudget in a category if the priority level was lower. I've attached a test budget.

To replicate, set the Food budget to zero and then apply the templates. demo.actualbudget.org and this PR will provide different calculated fills.

PR_test-budget.zip


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1738 **Author:** [@shall0pass](https://github.com/shall0pass) **Created:** 9/26/2023 **Status:** ✅ Merged **Merged:** 9/26/2023 **Merged by:** [@shall0pass](https://github.com/shall0pass) **Base:** `master` ← **Head:** `goals_overbudget` --- ### 📝 Commits (2) - [`e050c56`](https://github.com/actualbudget/actual/commit/e050c569ea617a88b77eec7b436a805e7742325f) fix - [`0c7da03`](https://github.com/actualbudget/actual/commit/0c7da03c03d0652a53e0a22f5755f7d65e07e8ac) release note ### 📊 Changes **2 files changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/goaltemplates.ts` (+3 -0) ➕ `upcoming-release-notes/1738.md` (+6 -0) </details> ### 📄 Description If a category had two templates, it was possible to overbudget in a category if the priority level was lower. I've attached a test budget. To replicate, set the Food budget to zero and then apply the templates. demo.actualbudget.org and this PR will provide different calculated fills. [PR_test-budget.zip](https://github.com/actualbudget/actual/files/12728677/PR_test-budget.zip) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:48:59 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3929