[GH-ISSUE #2243] [Bug]: Fatal app error clicking on Edit button of a(n auto-generated) rule #50005

Closed
opened 2026-04-30 12:30:56 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @stevehartwell on GitHub (Jan 17, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2243

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

After I changed some Payee transactions I noticed that a single rule had been generated in the Rules section.

When I clicked on the rule's [EDIT] button, I got a Fatal Error dialog.

Closing the file, re-opening, and clicking on the rule [EDIT] button leads to the same Fatal Error dialog.

What error did you receive?

Screenshot attached. Browser console log and contents of the rules table (1 row) in db.sqlite below.

Browser console log:

Error: value can be string only if strict = false
    n4 Autocomplete.tsx:41
    children Autocomplete.tsx:659
    renderInput Autocomplete.tsx:658
    children Autocomplete.tsx:419
    e downshift.esm.js:1377
    React 10
        aJ
        aQ
        lB
        l_
        lE
        lT
        lp
        ly
        oI
        lf
[react-dom.production.min.js:189:29](http://localhost:5006/node_modules/react-dom/cjs/react-dom.production.min.js)
    React 11
        az
        callback
        im
        sN
        sL
        sZ
        lP
        lD
        ly
        oI
        lf

contents of the rules table (1 row) in db.sqlite

id	stage	conditions	actions	tombstone	conditions_op
deba75a2-9641-4687-8d8e-344e4816585a	pre	"[{""op"":""oneOf"",""field"":""imported_description"",""value"":[""Capital One Crcardpmt 240101""],""type"":""string""}]"	"[{""op"":""set"",""field"":""description"",""value"":""b1d5eec7-6626-4f17-8361-0b2bf6b79a74"",""type"":""id""}]"	0	and

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Mac OSX

Originally created by @stevehartwell on GitHub (Jan 17, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/2243 ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? After I changed some Payee transactions I noticed that a single rule had been generated in the Rules section. When I clicked on the rule's [EDIT] button, I got a Fatal Error dialog. Closing the file, re-opening, and clicking on the rule [EDIT] button leads to the same Fatal Error dialog. ### What error did you receive? Screenshot attached. Browser console log and contents of the rules table (1 row) in `db.sqlite` below. Browser console log: ----------- ``` Error: value can be string only if strict = false n4 Autocomplete.tsx:41 children Autocomplete.tsx:659 renderInput Autocomplete.tsx:658 children Autocomplete.tsx:419 e downshift.esm.js:1377 React 10 aJ aQ lB l_ lE lT lp ly oI lf [react-dom.production.min.js:189:29](http://localhost:5006/node_modules/react-dom/cjs/react-dom.production.min.js) React 11 az callback im sN sL sZ lP lD ly oI lf ``` contents of the rules table (1 row) in `db.sqlite` ---------- ``` id stage conditions actions tombstone conditions_op deba75a2-9641-4687-8d8e-344e4816585a pre "[{""op"":""oneOf"",""field"":""imported_description"",""value"":[""Capital One Crcardpmt 240101""],""type"":""string""}]" "[{""op"":""set"",""field"":""description"",""value"":""b1d5eec7-6626-4f17-8361-0b2bf6b79a74"",""type"":""id""}]" 0 and ``` ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Firefox ### Operating System Mac OSX
GiteaMirror added the bug label 2026-04-30 12:30:56 -05:00
Author
Owner

@youngcw commented on GitHub (Jan 17, 2024):

can you try out the demo at demo.actualbudget.org? I believe this issue has been fixed and will be in the next release. Trying the demo will confirm.

<!-- gh-comment-id:1896632761 --> @youngcw commented on GitHub (Jan 17, 2024): can you try out the demo at demo.actualbudget.org? I believe this issue has been fixed and will be in the next release. Trying the demo will confirm.
Author
Owner

@stevehartwell commented on GitHub (Jan 17, 2024):

I have now imported my file that has the rule that causes the issue into demo.actualbudget.org.

Going to Rules and clicking on the [EDIT] button now opens the dialog correctly, so this seems to have been fixed in the current build.

I will look for the issue number and/or pull request for this fix to update this issue and close as duplicate. (@youngcw if you know which it is, please let me know :-)

Thanks for your prompt response. 😀

<!-- gh-comment-id:1896654359 --> @stevehartwell commented on GitHub (Jan 17, 2024): I have now imported my file that has the rule that causes the issue into demo.actualbudget.org. Going to Rules and clicking on the [EDIT] button now **opens the dialog correctly**, so this seems to have been fixed in the current build. I will look for the issue number and/or pull request for this fix to update this issue and close as duplicate. (@youngcw if you know which it is, please let me know :-) Thanks for your prompt response. 😀
Author
Owner

@stevehartwell commented on GitHub (Jan 17, 2024):

Closing as duplicate of #2180

(Sorry :-(, I forgot to search closed bugs)

<!-- gh-comment-id:1896663050 --> @stevehartwell commented on GitHub (Jan 17, 2024): Closing as duplicate of #2180 (Sorry :-(, I forgot to search closed bugs)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#50005