[PR #4465] [MERGED] Fix crash when deleting child transactions from an errored split #47219

Closed
opened 2026-04-26 09:13:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4465
Author: @jfdoming
Created: 2/27/2025
Status: Merged
Merged: 2/27/2025
Merged by: @jfdoming

Base: masterHead: jfdoming/dont-create-errors-when-deleting-children


📝 Commits (4)

  • ca22fc5 Fix crash when deleting child transactions from an errored split
  • 73f1a27 Add tests
  • 71ef09c Add release notes
  • 8bc6f2b Add graceful fallback

📊 Changes

4 files changed (+28 additions, -1 deletions)

View changed files

📝 packages/desktop-client/src/components/transactions/TransactionsTable.jsx (+1 -0)
📝 packages/loot-core/src/shared/transactions.test.ts (+19 -0)
📝 packages/loot-core/src/shared/transactions.ts (+2 -1)
upcoming-release-notes/4465.md (+6 -0)

📄 Description

As it says on the tin. We need to pass null as the error or else it won't get deleted from the db. Fixes #4344


🔄 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/4465 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/dont-create-errors-when-deleting-children` --- ### 📝 Commits (4) - [`ca22fc5`](https://github.com/actualbudget/actual/commit/ca22fc58acbb6932b58cae1ef6183ff4187bcb1c) Fix crash when deleting child transactions from an errored split - [`73f1a27`](https://github.com/actualbudget/actual/commit/73f1a27f21c3a157d86671263758330795bf768b) Add tests - [`71ef09c`](https://github.com/actualbudget/actual/commit/71ef09c1d6ba2b1361b7867c20f82fc591dc6815) Add release notes - [`8bc6f2b`](https://github.com/actualbudget/actual/commit/8bc6f2bd9ca9af0a4eb71276c1c38e57f773bc8a) Add graceful fallback ### 📊 Changes **4 files changed** (+28 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.jsx` (+1 -0) 📝 `packages/loot-core/src/shared/transactions.test.ts` (+19 -0) 📝 `packages/loot-core/src/shared/transactions.ts` (+2 -1) ➕ `upcoming-release-notes/4465.md` (+6 -0) </details> ### 📄 Description As it says on the tin. We need to pass `null` as the `error` or else it won't get deleted from the db. Fixes #4344 --- <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-26 09:13:39 -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#47219