[PR #2281] [MERGED] [Bugfix] Goals: Database entry #30151

Closed
opened 2026-04-18 06:35:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2281
Author: @shall0pass
Created: 1/24/2024
Status: Merged
Merged: 1/24/2024
Merged by: @shall0pass

Base: masterHead: goalDatabaseEntry


📝 Commits (3)

📊 Changes

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

View changed files

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

📄 Description

There is an error in the database insertion if the entry doesn't initially exist when applying goal templates.

Previously an entry like this:
image

would be created. With this change, an entry like this:
image

will be created. The issue I was seeing was that the color coded goal templates were not always rendering color, and in the process of tracking the issue down discovered this as the root issue.


🔄 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/2281 **Author:** [@shall0pass](https://github.com/shall0pass) **Created:** 1/24/2024 **Status:** ✅ Merged **Merged:** 1/24/2024 **Merged by:** [@shall0pass](https://github.com/shall0pass) **Base:** `master` ← **Head:** `goalDatabaseEntry` --- ### 📝 Commits (3) - [`d4da55d`](https://github.com/actualbudget/actual/commit/d4da55d79a746f4cc785c977b3eace27bd156d72) fix database insertion - [`d9d9d01`](https://github.com/actualbudget/actual/commit/d9d9d01df7e5b3839f1991c74ad9c21d4179e941) dbMonth format - [`8bc8113`](https://github.com/actualbudget/actual/commit/8bc81135dfdbf2d5d3b07f882127e4c0140b61a5) release note ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/actions.ts` (+3 -1) ➕ `upcoming-release-notes/2281.md` (+6 -0) </details> ### 📄 Description There is an error in the database insertion if the entry doesn't initially exist when applying goal templates. Previously an entry like this: ![image](https://github.com/actualbudget/actual/assets/20625555/e53df2c5-b0aa-4941-885c-5df67b88b417) would be created. With this change, an entry like this: ![image](https://github.com/actualbudget/actual/assets/20625555/7d6b2f1c-70ed-49d4-92cc-02bc29c976d1) will be created. The issue I was seeing was that the color coded goal templates were not always rendering color, and in the process of tracking the issue down discovered this as the root issue. --- <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-04-18 06:35:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#30151