[PR #4462] [MERGED] Resolves #4429 crash where clicking "manage payees" with an empty payee then clicking dropdown #5396

Closed
opened 2026-02-28 21:11:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4462
Author: @alecbakholdin
Created: 2/26/2025
Status: Merged
Merged: 2/27/2025
Merged by: @matt-fidd

Base: masterHead: empty-payees-crash


📝 Commits (2)

  • 8a7d58c added release notes
  • 49e7eab only set payee in state on page navigation if payee id is present

📊 Changes

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

View changed files

📝 packages/desktop-client/src/components/transactions/TransactionList.jsx (+1 -1)
upcoming-release-notes/4462.md (+6 -0)

📄 Description

When clicking "manage payees" from an empty payee:
image

Notice below that the checkbox in the top left of the table is selected even though there are no checked payees. This is because an undefined payee has been set during the navigate() call.
image

clicking the dropdown above the table would result in an unrecoverable crash:
image

After fix:
image


🔄 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/4462 **Author:** [@alecbakholdin](https://github.com/alecbakholdin) **Created:** 2/26/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `empty-payees-crash` --- ### 📝 Commits (2) - [`8a7d58c`](https://github.com/actualbudget/actual/commit/8a7d58c1c32dd214a3adfcfd6d90a8257592d7aa) added release notes - [`49e7eab`](https://github.com/actualbudget/actual/commit/49e7eabb82913b84008df984ec2fee08dd720d0c) only set payee in state on page navigation if payee id is present ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/transactions/TransactionList.jsx` (+1 -1) ➕ `upcoming-release-notes/4462.md` (+6 -0) </details> ### 📄 Description When clicking "manage payees" from an empty payee: <img width="522" alt="image" src="https://github.com/user-attachments/assets/5b1dc246-3b8f-4289-b56d-cfef21bda4c6" /> Notice below that the checkbox in the top left of the table is selected even though there are no checked payees. This is because an undefined payee has been set during the navigate() call. <img width="780" alt="image" src="https://github.com/user-attachments/assets/9e5d5fbd-a289-471c-9fa7-2b4931ffcf50" /> clicking the dropdown above the table would result in an unrecoverable crash: <img width="628" alt="image" src="https://github.com/user-attachments/assets/52db2668-c4ea-4abb-a84b-4cf451199ab7" /> After fix: <img width="308" alt="image" src="https://github.com/user-attachments/assets/fda2896e-30e8-4c30-a1da-8ba1bc2104ba" /> --- <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 21:11:47 -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#5396