ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
109 stars 12 forks source link

Bug: Unmatched tasks are incorrectly archived when the rule has multiple conditions #88

Open byjo opened 6 months ago

byjo commented 6 months ago

Description

I have identified a bug in the task archiving feature where unchecked tasks are being incorrectly archived even if they do not match the specified file path or task text patterns.

This issue seems to stem from a discrepancy between

Example

Rule

I want to archive tasks that has an unchecked status and whose text contains the strings #project like this. 스크린샷 2024-03-07 06 31 37

Tasks before archive

스크린샷 2024-03-07 06 32 35

Expectation

스크린샷 2024-03-07 06 32 53

Actual Behavior

스크린샷 2024-03-07 06 33 29