Using the ampersand character (&) in note title messes up sync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Fix Released
|
Medium
|
Rodrigo Moya |
Bug Description
When using an ampersand character in the title of a note, synchronization between Tomboy and Ubuntu One stops working or the title is messing up. There are two options:
1) Create a note with the title "Peter & Paul" via the Ubuntu One web interface. Then try to sync Tomboy. Tomboy fails to sync without giving details. I'll attach the exception.
After that rename the note to "Peter and Paul" again using the web interface. Then try to sync Tomboy. It works as expected.
2) Create a note with the title "Peter & Paul" via Tomboy. Then try to sync Tomboy. It will work, but the note title on Ubuntu One is messed up. It now reads "Peter & Paul". I'll attach screenshots.
This bug might be related to #484683, #482372, #479417 and #484142
Changed in ubuntuone-servers: | |
assignee: | nobody → Rodrigo Moya (rodrigo-moya) |
status: | New → In Progress |
Changed in ubuntuone-servers: | |
importance: | Undecided → Medium |
Changed in ubuntuone-servers: | |
status: | In Progress → Fix Committed |
tags: | added: double-escaping |
Changed in ubuntuone-servers: | |
status: | Fix Committed → Fix Released |
12/1/2009 7:30:09 PM [ERROR]: Synchronization failed with the following exception: a name did not start with a legal character 32 ( ) Line 4, position 63. XmlTextReader. ReadName (System.String& prefix, System.String& localName) [0x00000] XmlTextReader. ReadName () [0x00000] XmlTextReader. ReadEntityRefer ence (Boolean ignoreEntityRef erences) [0x00000] XmlTextReader. ReadReference (Boolean ignoreEntityRef erences) [0x00000] XmlTextReader. ReadText (Boolean notWhitespace) [0x00000] XmlTextReader. ReadContent () [0x00000] XmlTextReader. Read () [0x00000] Xml.XmlTextRead er.Read () [0x00000] Sync.NoteUpdate ..ctor (System.String xmlContent, System.String title, System.String uuid, Int32 latestRevision) [0x00000] WebSync. WebSyncServer. GetNoteUpdatesS ince (Int32 revision) [0x00000] Sync.SyncManage r.Synchronizati onThread () [0x00000]
at Mono.Xml2.
at Mono.Xml2.
at Mono.Xml2.
at Mono.Xml2.
at Mono.Xml2.
at Mono.Xml2.
at Mono.Xml2.
at System.
at Tomboy.
at Tomboy.
at Tomboy.