After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623501 - Renaming a note with XML characters will cause the Rename Note Links dialog to have no body
Renaming a note with XML characters will cause the Rename Note Links dialog t...
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
1.3.x
Other All
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-04 01:54 UTC by Aaron D Borden
Modified: 2010-07-04 18:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the issue (62.29 KB, image/png)
2010-07-04 01:54 UTC, Aaron D Borden
Details

Description Aaron D Borden 2010-07-04 01:54:14 UTC
Created attachment 165203 [details]
Screenshot of the issue

Repro
1. Create a note named "note A"
2. Create a note with a link to "note A"
3. Rename "note A" to "note </A>"

Expected:
Rename Note Links dialog describes the consequences of renaming the note.

Actual:
Rename Note Links dialog has no body.

Cause:
Gtk.Label is set to use markup, so the titles should be xml encoded.
Comment 1 Sandy Armstrong 2010-07-04 12:33:12 UTC
Good catch.
Comment 2 Aaron D Borden 2010-07-04 18:06:58 UTC
Looks like this also affects Note.GetRenamedNoteXml. Tracing the code looks like this would only affect tomboy remote control and the SyncDialog, but I haven't tested it to confirm.