[Bug]: With editing rules with "Imported payees is one of []" #905

Closed
opened 2026-02-28 19:24:36 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @az18 on GitHub (Feb 2, 2024).

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I have checked my server logs and could not see any errors there
  • I will be attaching my server logs to this issue
  • I will be attaching my client-side (browser) logs to this issue
  • I understand that this issue will be automatically closed if insufficient information is provided

What happened?

I try to edit or create a rule with the conditions "Imported Payee" "is one of" i get a fatal error:
image

the error says:

Error: value can be string only if strict = false at n4 (https://mydomain.com/static/js/main.eea3298c.js:109:241670) at 
https://mydomain.com/static/js/main.eea3298c.js:109:246871 at Array.map (<anonymous>) at renderInput 
(https://mydomain.com/static/js/main.eea3298c.js:109:246857) at children 
(https://mydomain.com/static/js/main.eea3298c.js:109:244560) at t.e [as render] 
(https://mydomain.com/static/js/main.eea3298c.js:109:208466) at aJ 
(https://mydomain.com/static/js/main.eea3298c.js:42:79170) at aQ 
(https://mydomain.com/static/js/main.eea3298c.js:42:78966) at lB 
(https://mydomain.com/static/js/main.eea3298c.js:42:118444) at l_ 
(https://mydomain.com/static/js/main.eea3298c.js:42:113202)

When I create the new rule the error occurs, when I enter a "one of" value.
And when I want to edit a rule, it happens on click on the edit button (for all rules which have the "one of" condition.
Eg this one:
image

What error did you receive?

No response

Where are you hosting Actual?

Docker

Which Versions?

Client version: v24.1.0
Server version: v24.1.0

What browsers are you seeing the problem on?

Chrome

Operating System

Linux

Originally created by @az18 on GitHub (Feb 2, 2024). ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### Is this related to GoCardless, Simplefin or another bank-sync provider? - [ ] I have checked my server logs and could not see any errors there - [ ] I will be attaching my server logs to this issue - [X] I will be attaching my client-side (browser) logs to this issue - [X] I understand that this issue will be automatically closed if insufficient information is provided ### What happened? I try to edit or create a rule with the conditions "Imported Payee" "is one of" i get a fatal error: ![image](https://github.com/actualbudget/actual/assets/11908231/b33409b7-b693-4964-873f-750a36c04ac7) the error says: ``` Error: value can be string only if strict = false at n4 (https://mydomain.com/static/js/main.eea3298c.js:109:241670) at https://mydomain.com/static/js/main.eea3298c.js:109:246871 at Array.map (<anonymous>) at renderInput (https://mydomain.com/static/js/main.eea3298c.js:109:246857) at children (https://mydomain.com/static/js/main.eea3298c.js:109:244560) at t.e [as render] (https://mydomain.com/static/js/main.eea3298c.js:109:208466) at aJ (https://mydomain.com/static/js/main.eea3298c.js:42:79170) at aQ (https://mydomain.com/static/js/main.eea3298c.js:42:78966) at lB (https://mydomain.com/static/js/main.eea3298c.js:42:118444) at l_ (https://mydomain.com/static/js/main.eea3298c.js:42:113202) ``` When I create the new rule the error occurs, when I enter a "one of" value. And when I want to edit a rule, it happens on click on the edit button (for all rules which have the "one of" condition. Eg this one: ![image](https://github.com/actualbudget/actual/assets/11908231/a175f384-f62e-45ab-8de5-6642bba6e592) ### What error did you receive? _No response_ ### Where are you hosting Actual? Docker ### Which Versions? Client version: v24.1.0 Server version: v24.1.0 ### What browsers are you seeing the problem on? Chrome ### Operating System Linux
GiteaMirror added the bug label 2026-02-28 19:24:36 -06:00
Author
Owner

@youngcw commented on GitHub (Feb 2, 2024):

Have you tested this on the edge build? I believe this has been fixed. You can try demo.actualbudget.org to confirm if you don't want to install edge locally.

@youngcw commented on GitHub (Feb 2, 2024): Have you tested this on the edge build? I believe this has been fixed. You can try demo.actualbudget.org to confirm if you don't want to install edge locally.
Author
Owner

@az18 commented on GitHub (Feb 2, 2024):

I couldn't reproduce it on demo.actualbudget.org.

But was able to reproduce it in a fresh/empty file on my host

@az18 commented on GitHub (Feb 2, 2024): I couldn't reproduce it on demo.actualbudget.org. But was able to reproduce it in a fresh/empty file on my host
Author
Owner

@youngcw commented on GitHub (Feb 2, 2024):

But was able to reproduce it in a fresh/empty file on my host

what build are you using locally?

@youngcw commented on GitHub (Feb 2, 2024): > But was able to reproduce it in a fresh/empty file on my host what build are you using locally?
Author
Owner

@az18 commented on GitHub (Feb 2, 2024):

client & server v24.1.0

@az18 commented on GitHub (Feb 2, 2024): client & server v24.1.0
Author
Owner

@youngcw commented on GitHub (Feb 2, 2024):

ok, the bug is only present in latest and will be fixed in the next release, which is very soon.

@youngcw commented on GitHub (Feb 2, 2024): ok, the bug is only present in latest and will be fixed in the next release, which is very soon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#905