GTG

A new line with a comma is added every time the task window is closed

Bug #359469 reported by Dominik Mayer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Unassigned

Bug Description

If the tags are not at the end of the note, a new line with a comma is added everytime text is changed. How to reproduce:

1. Create a new task.
2. Add @test.
3. Add some text below the tag.
4. Close the window.
5. Reopen and you'll see the line.
6. Add text, close and open for another line and so on.

Tags: tags
tags: added: tags
summary: - A new line with a comma is added every time the Task window is closed
+ A new line with a comma is added every time the task window is closed
Revision history for this message
Thomas Pitlik (thomaspitlik) wrote :

Bug reproduceable - same here. Screenshot attached.

Changed in gtg:
importance: Undecided → High
milestone: none → 0.2
status: New → Confirmed
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

This bug is pure crazyness !

It seems to come from a bug in the serializer. Just output the serializer and see.

It should be something like <tag>@test</tag> but if you modify the task, each letter you input will delete a char of the tag and add a <tag></tag>. So inputing one letter makes it :

<tag><tag>@tes</tag></tag>

Pitijo, we need you to take a look at your serializer ;-)

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

In fact, the bug is in _detect_tag when not using the full mode (so when we are doing local tag detection).

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

in rev.243, I did a quick ugly hack that fixes the thing (by doing all the time a full tag detection) but it should not be the way of solving that bug.

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
status: Confirmed → In Progress
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

fix committed in rev.244

Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
milestone: 0.2 → 0.1.2
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.