Emty category rule is not aplying on imported data (CSV, QFX) #2052
Labels
bug
Something isn't working
rules
Related to rules
transaction import
Related to manually importing transactions
Verified issue does not already exist?
What happened?
I've encountered a bug with a rule (picture A) where uncategorized transactions are supposed to go into the General category. When I manually add a transaction, it correctly goes to General (picture B). However, when I import a CSV, it behaves differently (picture C, D, E). The bug appears to be related to the
NewTransaction
function sending{category: null}
in JSON, while the import sets it toundefined
. When the category isundefined
, theeval
function inpackages/loot-core/src/server/accounts/rules.ts
returnsfalse
(picture F).What error did you receive?
The transaction wasn't categorised
Where are you hosting Actual?
Locally via Yarn
What browsers are you seeing the problem on?
Chrome
Operating System
Linux
The text was updated successfully, but these errors were encountered: