Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Sync Error With Long Notes



AuthorMessage
rocky

Posted: Jul 30, 2008
Score: 0



Running Outlook 2003 and installed toodledo sync for first time (using default settings).
* Initial sync worked fine (tasks with long notes were truncated as expected)
* changing task or note on Toodledo correctly sync'd to outlook
* deleting task on Outlook correctly sync'd to Toodledo
I then created a new task with a note larger than 2k in outlook and it didn't sync to Toodledo and there was a sync error. Note that tasks with long notes which were present at initial sync did not cause an error so it appears related to new tasks with long notes. Trace shows the following (redacted private info and deleted most lines to make compact). If you'd like me to email you these traces in future, please provide your address. I'm rocky in the domain teampatent.com


SyncApp.exe Information: 0 : SynchLib:synchronizeTasks() method called
SyncApp.exe Information: 0 : SynchLib:synchronizeTasks() load sync records
SyncApp.exe Information: 0 : SynchLib:synchronizeTasks() performing incremental synchronization
SyncApp.exe Information: 0 : SynchLib:performPartialSync() method called
SyncApp.exe Information: 0 : SynchLib:performPartialSync() retrieving modified toodledo tasks
SyncApp.exe Information: 0 : SynchLib:performPartialSync() retrieving deleted toodledo tasks
SyncApp.exe Information: 0 : SynchLib:performPartialSync() synching and retrieving toodledo folders
SyncApp.exe Information: 0 : SynchLib:synchAndRetrieveToodledoFolders() getting Toodledo Folders
SyncApp.exe Information: 0 : SynchLib:synchAndRetrieveToodledoFolders(): updating toodledo folders from outlook
SyncApp.exe Information: 0 : SynchLib:performPartialSync() retrieving toodledo contexts
SyncApp.exe Information: 0 : SynchLib:performPartialSync() initializing task item processor
SyncApp.exe Information: 0 : SynchLib:performFullSync() initializing task processor
SyncApp.exe Information: 0 : SynchLib:performPartialSync() retrieving outlook tasks
SyncApp.exe Information: 0 : SynchLib:performPartialSync() creating contexts
SyncApp.exe Information: 0 : SynchLib: createContexts() processing 261 sync records
SyncApp.exe Information: 0 : SynchLib:performPartialSync() linking outlook items to contexts. Finding new items
SyncApp.exe Information: 0 : SynchLib:addTaskItemsToContextList() processing 263 outlook items
SyncApp.exe Information: 0 : SynchLib:addTaskItemsToContextList() 0 ...redacted for this bug report]
...lots of tasks added
SyncApp.exe Information: 0 : SynchLib:addTaskItemsToContextList() 262 [Test long note] <--this is the new test note
SyncApp.exe Information: 0 : SynchLib:addTaskItemsToContextList() found 2 unmatched outlook items
SyncApp.exe Information: 0 : SynchLib:performPartialSync() finding new toodledo items
SyncApp.exe Information: 0 : SynchLib: addTasksToContextList() processing 261 toodledo tasks
SyncApp.exe Information: 0 : SynchLib: addTasksToContextList() found 0 unmatched toodledo tasks
SyncApp.exe Information: 0 : SynchLib:performPartialSync() finding deleted items
SyncApp.exe Information: 0 : SynchLib:performPartialSync() finding updated items
SyncApp.exe Information: 0 : SynchLib:checkUpdatedOnToodledo() checking ToodleTask: 3338069 [...redacted for this bug report]
...lots of preexsiting tasks checked
SyncApp.exe Information: 0 : SynchLib:performPartialSync() creating new outlook item contexts
SyncApp.exe Information: 0 : SynchLib:performPartialSync() creating new toodledo item contexts
SyncApp.exe Information: 0 : SynchLib:processContexts() processing contexts

SyncApp.exe Information: 0 : SyncContext:switchState() processing state Synched
SyncApp.exe Information: 0 : StateSynched():Process method called
...<repeated many times>
SyncApp.exe Information: 0 : SyncContext:switchState() processing state Synched
SyncApp.exe Information: 0 : StateSynched():Process method called

SyncApp.exe Information: 0 : SyncContext:switchState() processing state CreatedOnOutlook
SyncApp.exe Information: 0 : StateCreatedOnOutlook():Process method called
SyncApp.exe Information: 0 : StateCreatedOnOutlook(): IgnoreExistingCompletedTasks enabled. Skipping
SyncApp.exe Information: 0 : SyncContext:switchState() processing state CreatedOnOutlook
SyncApp.exe Information: 0 : StateCreatedOnOutlook():Process method called
SyncApp.exe Information: 0 : TaskProcessor:createTaskFromTaskItem(): creating Toodledo task from Outlook Task [Test long note]
SyncApp.exe Information: 0 : EntityConverter:appendStringIgnoreEmpty(): Warning max string length exceeded. Truncating to 4096 bytes
SyncApp.exe Error: 0 : Error requesting URL The remote server returned an error: (414) Request-URI Too Large.
SyncApp.exe Error: 0 : Error during synchronization The remote server returned an error: (414) Request-URI Too Large. at ToodledoClientLib.HTTPUtil.sendHTTPRequest(String url)
at ToodledoClientLib.ToodledoProxy.addTaskXML(Task task)
at ToodledoClientLib.ToodledoProxy.addTask(Task newTask)
at SynchLib.TaskProcessor.createTaskFromTaskItem(TaskItem taskItem)
at SynchLib.StateCreatedOnOutlook.Process()
at SynchLib.SyncContext.process()
at SynchLib.SyncTool.processContextStates(List`1 contexts)
at SynchLib.SyncTool.processContexts(List`1 contexts)
at SynchLib.SyncTool.performIncrementalSynch(SyncInfo syncinfo)
at SynchLib.SyncTool.synchronizeTasks()
at SyncApp.frmOptions.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)


This message was edited Jul 30, 2008.
keef

Posted: Jul 30, 2008
Score: 0



Hmm. I set the truncation length for notes to 4096 bytes. This is obviously still too large for some edit commands to I'll need to reduce it in a future release.
keef
You cannot reply yet


To participate in these forums, you must be signed in.



Toodledo Forums > Developers