task.add_tag behavior unclear
Bug #493835 reported by
Luca Invernizzi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Medium
|
Kevin Mehall |
Bug Description
the add_tag method adds a tag to the task without adding the corresponding text inside the tag description. That behavior is provided by task's insert_tag, but the distinction isn't clear until one looks at the code or gets a bug.
This caused bug #460751, and also a bug in rtm plugin (fixed, not reported).
Maybe we should change the signature of that function?
Changed in gtg: | |
status: | New → Confirmed |
assignee: | nobody → Lionel Dricot (ploum) |
importance: | Low → Medium |
Changed in gtg: | |
assignee: | nobody → Kevin Mehall (kevin-mehall) |
status: | Confirmed → In Progress |
Changed in gtg: | |
milestone: | 0.3 → 0.2.1 |
Changed in gtg: | |
status: | In Progress → Fix Committed |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm 100% in favour of making things easier. The only concern is to track the usage of the function everywhere to be sure that a signature change will not affect other functions.
Maybe is there a reason for such a behaviour? If not, I agree with your proposition.