GothenburgBitFactory / GothenburgBitFactory/taskwarrior

[TW-1262] task dep.contains: matches characters in UUID instead of ID

Open
#1,296 4 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

_Renato Alves on 2014-02-19T17:28:28Z says:_

Some users reported unexpected behavior when using dep: and dep.*: filters to filter based on task dependencies.

After some testing it became obvious that when using dep: the search is matched against the underlying UUID and not the ID, hence unexpected results.

How to reproduce:

1. Create some tasks and assign dependencies
2. Use task all dep.contains:1
Some tasks may appear, if not create more tasks and dependencies
3. Repeat step 2 but use dep.contains:f
Some tasks may appear, if not create more tasks and dependencies
4. Use task all dep.contains:j
Always returns an empty list

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.