Adding a tag with '&' causes ExpatError.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
High
|
Parin Porecha |
Bug Description
v. 0.3.r1334~
1. Right-click an existing task and select 'Modify tags...'
2. Enter a new tag: a&b
3. Click 'Add/remove tags'.
4. Double click the task to open it.
5. Dialog open saying, "GTG 0.3.1 has crashed..."
6. Clicking 'Details' shows the trace.
7. Click 'Ignore error.'
8. Double-click the task again, it doesn't open.
9. Normal functioning requires closing and re-launching GTG.
Adding a tag by editing the task in task editor also raises the same error
Trace:
Traceback (most recent call last):
File "/usr/share/
element = xml.dom.
File "/usr/lib/
return expatbuilder.
File "/usr/lib/
return builder.
File "/usr/lib/
parser.
ExpatError: not well-formed (invalid token): line 1, column 18
Would help to specify the character restrictions for tags in the docs.
Changed in gtg: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 0.3.2 |
Changed in gtg: | |
assignee: | nobody → Parin Porecha (parinporecha) |
description: | updated |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
Pushed revision 1335 containing the fix for this bug.
Now, you can create tags with '&' in it.
However, it has caused Bug #1261772. I'm trying to find out the cause for it