Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TW-1600] Filtering "regressions"(?) in task-2.4.3, task-2.4.4 #1624

Open
taskwarrior opened this issue Feb 14, 2018 · 5 comments
Open

[TW-1600] Filtering "regressions"(?) in task-2.4.3, task-2.4.4 #1624

taskwarrior opened this issue Feb 14, 2018 · 5 comments
Labels
eval:reproduced triaged Issue has been assessed by the maintainers. type:bug Something isn't working
Projects

Comments

@taskwarrior
Copy link

Ralph Bean on 2015-04-21T14:33:55Z says:

Here's an example of one. In previous versions of taskwarrior, the filter at the end would match only one task, but with task-2.4.3 it matches all three tasks.

(taskw)❯ task add foobar1
task adCreated task 742.
The project 'unsorted' has changed.  Project 'unsorted' is 66% complete (1 of 3 tasks remaining).
(taskw)❯ task add foobar2
Created task 743.
The project 'unsorted' has changed.  Project 'unsorted' is 50% complete (2 of 4 tasks remaining).
(taskw)❯ task add foobar+
Created task 744.
The project 'unsorted' has changed.  Project 'unsorted' is 40% complete (3 of 5 tasks remaining).
(taskw)❯ task proj:unsorted
[task next proj = unsorted]

id  age project  description urg 
742 11s unsorted foobar1        1
743 8s  unsorted foobar2        1
744 5s  unsorted foobar+        1

3 tasks

❯ task description.contains:"foobar+"
[task next description ~ 'foobar+']

id  age project  description urg 
742 18s unsorted foobar1        1
743 15s unsorted foobar2        1
744 12s unsorted foobar+        1

3 tasks
@taskwarrior taskwarrior added this to the 2.4.5 milestone Feb 14, 2018
@taskwarrior taskwarrior added type:bug Something isn't working fixed labels Feb 14, 2018
@taskwarrior
Copy link
Author

Migrated metadata:

Created: 2015-04-21T14:33:55Z
Modified: 2015-07-13T11:57:10Z

@taskwarrior
Copy link
Author

Ralph Bean on 2015-04-21T14:37:58Z says:

Here is an even trickier example. Consider a task list with these two tasks:

❯ task proj:unsorted
[task next proj = unsorted]

id  age project  description urg 
742 56s unsorted foobar1        1
743 46s unsorted foo?bar        1

2 tasks

Trying to filter for the second task gives the first one instead.

❯ task proj:unsorted description.contains:"oo?ba"
[task next proj = unsorted and description ~ 'oo?ba']

id  age project  description urg 
742 58s unsorted foobar1        1

1 task

@taskwarrior
Copy link
Author

Ralph Bean on 2015-04-21T14:42:19Z says:

And here's a last failing case. Consider tasks with braces in the description:

❯ task proj:unsorted                                     
[task next proj = unsorted]

id  age project  description urg 
742 42s unsorted [foobar1]      1
743 40s unsorted [foobar2]      1

2 tasks
❯ task proj:unsorted description.contains:"[foobar2]"    
[task next proj = unsorted and description ~ '[foobar2]']

id  age project  description urg 
742 50s unsorted [foobar1]      1
743 48s unsorted [foobar2]      1

2 tasks

@taskwarrior
Copy link
Author

Renato Alves on 2015-05-25T17:32:08Z says:

Test case included in the repository on branch 2.4.5.

Currently pending a fix together with other 2 known problems.

@tbabej
Copy link
Sponsor Member

tbabej commented Dec 5, 2020

Regression in 2.5.2, 2.6.0.

@tbabej tbabej reopened this Dec 5, 2020
@tbabej tbabej added eval:reproduced triaged Issue has been assessed by the maintainers. labels Dec 5, 2020
@tbabej tbabej modified the milestones: 2.4.5, 2.6.0 Dec 5, 2020
@tbabej tbabej modified the milestones: 2.6.0, 3.0.0 Aug 14, 2021
@djmitche djmitche removed this from the 3.0.0 milestone Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eval:reproduced triaged Issue has been assessed by the maintainers. type:bug Something isn't working
Projects
Filter
Awaiting triage
Development

No branches or pull requests

3 participants