fix: Rule notification should not be triggered when category is unassigned #2214
Reference in New Issue
Block a user
Delete Branch "fix/cta"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motiviation
Currently, when a transaction's category is changed, the rule CTA (category_rule) is triggered. However, it incorrectly assumes that a category is always present, which causes issues when the category is unassigned (i.e., nil). This leads to an error when transaction.category is
nil.Good catch!