GTG

Tag duplication with accentuate characters

Bug #346925 reported by Pititjo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Unassigned

Bug Description

When a multiple tasks use a tag with accentuate characters (éèà...) the tag is duplicated.

Way to reproduce the bug :
- create a task and apply a tag with an accentuate character
- create an other task and apply the same tag
- close gtg
When gtg is reopen, the tag is twice in the tag panel. If you create three tasks, the tag is three time in the tag panel.

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

Traceback (most recent call last):
  File "/home/ploum/gtg.local/GTG/taskeditor/taskviewserial.py", line 43, in serialize
    doc.appendChild(self.parse_buffer(content_buf,its, ite,parent,doc,tag_stack))
  File "/home/ploum/gtg.local/GTG/taskeditor/taskviewserial.py", line 142, in parse_buffer
    if last_val and last_val.nodeValue[-1] != '\n' :
TypeError: 'NoneType' object is unsubscriptable

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

The previous comment is not related. It has to do with the fact that tagname are saved in unicode. So "é" becomes '\xc3\xa9' which is not nice and a complicated issue :-(

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

fixed in rev. 209

Changed in gtg:
status: Confirmed → Fix Committed
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.