actualbudget/actual

[Bug]: Duplicate entry in rule one of list after payee name merge

オープン

#6,486 opened on 2025/12/25

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (603 件のフォーク)batch import
bughelp wantedrulesuser interface

Repository metrics

Stars
 (7,129 個のスター)
PR merge metrics
 (平均マージ 4d 15h) (30d で 165 merged PRs)

説明

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

If a user has a rule with multiple entries in the "one of" list (consider Payee A and Payee B) for payee match and the payee names are merged into Payee A, reopening the rule will show Payee A twice in the "one of" list. Removing the duplicate will unintentionally remove both entries from the rule.

How can we reproduce the issue?

  1. Create a default rule to assign a category. For example, when payee is one of "Burger Drops Montreal", "Burger Drops Toronto", or "Campechano" and assign a category of "restaurants"
  2. Create a new PRE rule where any imported payee with a name containing "Burger Drops" is renamed to "Burger Drops" and apply to all existing entries.
  3. Accept the merge of payee names where rules will be merged
  4. Open the first rule and see duplicate entries in the "one of" list
  5. Remove the duplicate "Burger Drops" entry and save
  6. Re-open the rule and see that "Burger Drops" is gone entirely

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

MacOS

コントリビューターガイド