[Bug]: Transaction screen crashes if you remove 'date' filter from schedule link rule #2009

Closed
opened 2026-02-28 20:01:04 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @darkporpoise on GitHub (Apr 4, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I added a schedule (credit) for the 25th of the month and then viewed in in the transactions list without problem. I had "Change upcoming month" set to end of current month. I then added 9 more schedules (debits) due on the same (25th) and now when I try to view the transactions screen I get:

Fatal Error
There was an unrecoverable error in the UI. Sorry!
If this error persists, please get in touch so it can be investigated.
Restart app
Show Error

Show Error

TypeError: Cannot read properties of null (reading 'op') at Ng (app://actual/static/js/index.1N4-CGNZ.js:111:90220) at app://actual/static/js/index.1N4-CGNZ.js:111:111569 at Array.map (<anonymous>) at app://actual/static/js/index.1N4-CGNZ.js:111:111513 at Object.g8 [as useMemo] (app://actual/static/js/index.1N4-CGNZ.js:47:23922) at ht.useMemo (app://actual/static/js/index.1N4-CGNZ.js:10:6208) at LVe (app://actual/static/js/index.1N4-CGNZ.js:111:111410) at v (app://actual/static/js/useAccountPreviewTransactions.VH6dr14k.chunk.js:1:117) at Hs (app://actual/static/js/wide.CWvRqWsK.chunk.js:1:25983) at SE (app://actual/static/js/index.1N4-CGNZ.js:47:19539)

How can we reproduce the issue?

I think just by adding too many schedules and then trying to view them in the transactions screen.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Desktop App (Electron)

Operating System

Mac OSX

Originally created by @darkporpoise on GitHub (Apr 4, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? I added a schedule (credit) for the 25th of the month and then viewed in in the transactions list without problem. I had "Change upcoming month" set to end of current month. I then added 9 more schedules (debits) due on the same (25th) and now when I try to view the transactions screen I get: Fatal Error There was an unrecoverable error in the UI. Sorry! If this error persists, please get [in touch](https://actualbudget.org/contact) so it can be investigated. Restart app Show Error <details> <summary>Show Error</summary> `TypeError: Cannot read properties of null (reading 'op') at Ng (app://actual/static/js/index.1N4-CGNZ.js:111:90220) at app://actual/static/js/index.1N4-CGNZ.js:111:111569 at Array.map (<anonymous>) at app://actual/static/js/index.1N4-CGNZ.js:111:111513 at Object.g8 [as useMemo] (app://actual/static/js/index.1N4-CGNZ.js:47:23922) at ht.useMemo (app://actual/static/js/index.1N4-CGNZ.js:10:6208) at LVe (app://actual/static/js/index.1N4-CGNZ.js:111:111410) at v (app://actual/static/js/useAccountPreviewTransactions.VH6dr14k.chunk.js:1:117) at Hs (app://actual/static/js/wide.CWvRqWsK.chunk.js:1:25983) at SE (app://actual/static/js/index.1N4-CGNZ.js:47:19539)` </details> ### How can we reproduce the issue? I think just by adding too many schedules and then trying to view them in the transactions screen. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Desktop App (Electron) ### Operating System Mac OSX
GiteaMirror added the bug label 2026-02-28 20:01:04 -06:00
Author
Owner

@darkporpoise commented on GitHub (Apr 4, 2025):

FYI: M4 Arm64 Mac

@darkporpoise commented on GitHub (Apr 4, 2025): FYI: M4 Arm64 Mac
Author
Owner

@darkporpoise commented on GitHub (Apr 4, 2025):

Scrap that!

The issue is that I had removed the Date filters from the Rules that were automatically created when saving the Schedules.

Please find attached a Budget File with a single Account/Transaction/Schedule to recreate the error.

PS: You can only remove the Date filter by first changing its type, then removing the line. This should perhaps have been my first hint...

2025-04-04-My Finances.zip

@darkporpoise commented on GitHub (Apr 4, 2025): Scrap that! The issue is that I had removed the Date filters from the Rules that were automatically created when saving the Schedules. Please find attached a Budget File with a single Account/Transaction/Schedule to recreate the error. PS: You can only remove the Date filter by first changing its type, then removing the line. This should perhaps have been my first hint... [2025-04-04-My Finances.zip](https://github.com/user-attachments/files/19603054/2025-04-04-My.Finances.zip)
Author
Owner

@alecbakholdin commented on GitHub (Apr 6, 2025):

Resolved by #4627

Make sure you're updated to v25.4.0!

@alecbakholdin commented on GitHub (Apr 6, 2025): Resolved by #4627 Make sure you're updated to v25.4.0!
Author
Owner

@darkporpoise commented on GitHub (Apr 7, 2025):

Can confirm I no longer get the error with the attached test file after updating to v25.4.0.

Thanks!

@darkporpoise commented on GitHub (Apr 7, 2025): Can confirm I no longer get the error with the attached test file after updating to v25.4.0. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2009