GNOME Bugzilla – Bug 632535
New note synced with no content
Last modified: 2010-10-20 12:11:05 UTC
Created attachment 172685 [details] Note that appears fine in Snowy I just tried syncing to my new snowy account and most notes have no content, only a title. I'll admit to recently switching back to Tomboy after a while using gnote, so it's possible that there is note corruption happening because of that but I can't see any relevant differences in the XML structure. I've attached two notes, one of which is on Snowy fine and the other is only a title.
Created attachment 172686 [details] Note that is only a title in Snowy
Created attachment 172701 [details] Note that synced correctly, without xmllint --format
Created attachment 172702 [details] Note that syncs with no content
Also, Tomboy 1.2.1.
This is a Tomboy bug. We make bad assumptions about the attributes in the note-content element, and even worse we use a regex to parse it, so these notes from gnote that have a few extra attributes in the note-content element are throwing off the sync code that parses the content (sans title) out of the note-content element. Totally our bad, thanks so much for catching it, will fix ASAP and get into a 1.4.x bugfix release and git for 1.5.x.
Fix pushed to gnome-2-30, gnome-2-32, and master. Ross, if you could test this patch out, that would be great. The unit test makes me pretty confident it's fixed, though. http://git.gnome.org/browse/tomboy/patch/?id=08dfc2f2d813c9adcde67e4eb85093d0a6a0aee0 The best way to test this is for me to wipe out your data in Tomboy Online first. Ping me when you're ready and I'll go ahead and do that.
If I touch an "empty" note and resync I now see content on snowy, thanks.