Skip to content

[Bug]: Rule to change CLEARED to false is getting run regardless of conditions #5922

@natemeyerr-ctrl

Description

@natemeyerr-ctrl

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I created a rule to set the CLEARED flag to false on all imported transactions. The IF is amount < $10,000 (this is just a way to catch all rows), and the THEN is set cleared to false.

It works! The imported rows now import as uncleared.

However, everytime the rule runs, it marks all other previously imported transactions as uncleared. So now all my transactions on my chequing account are uncleared.

I also added another THEN to the rule just to see what rows it's actually meaning to update. I added THEN prepend to notes = TEST.

Imported, and the newly imported rows is uncleared, and it has TEST in the notes line.

However, all other rows in that account are now also uncleared, but there is no TEST in those rows.

So whenever you use cleared equals false in a rule it seems to clear all transactions in the account instead of just the imported transactions

How can we reproduce the issue?

  1. Marked all rows in checking as cleared
  2. Create a rule to catch all imported transactions (ex: amount < 10000, then cleared = false
  3. Import, and notice the newly imported rows are marked as uncleared, but now ALL other rows in the account are also uncleared.

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Chrome

Operating System

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededrulesRelated to rules

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions