mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-16 15:14:02 -05:00
[PR #4889] [MERGED] Split transactions repair tool to remove categories from parent transactions + prevent adding/updating parent transactions with categories #54950
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/actualbudget/actual/pull/4889
Author: @joel-jeremy
Created: 4/25/2025
Status: ✅ Merged
Merged: 5/12/2025
Merged by: @joel-jeremy
Base:
master← Head:repair-split-transactions-parents-with-category📝 Commits (3)
c2cf60bAdd a functionality to split transactions repair tool to remove categories from parent transactions and prevent adding/update parent transactions with categories3ebfdd9Fix lint error82baa84Remove console.log📊 Changes
4 files changed (+42 additions, -4 deletions)
View changed files
📝
packages/desktop-client/src/components/settings/RepairTransactions.tsx(+14 -1)📝
packages/loot-core/src/server/tools/app.ts(+18 -0)📝
packages/loot-core/src/server/transactions/index.ts(+4 -3)➕
upcoming-release-notes/4889.md(+6 -0)📄 Description
This fixes an issue where an existing parent transaction is still set to a category and you cannot delete the category due to it being used by a parent transaction - this is not obvious and you cannot see this in UI because we don't show category for parent transactions. This tool removes those categories from parent transactions so users can delete.
Without this tool, the way to fix the issue it to:
This PR will also prevent future split transactions from setting the category on any parent transactions.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.