On Tuesday 05 March 2013 10:09:08 Patrick Ohly wrote: > On Mon, 2013-03-04 at 22:46 +0000, Graham Cobb wrote: > > I have found a problem with activesyncd with Exchange. In my case, the > > Exchange server has lost state (no idea why, but I noticed that my > > Android phone has thrown away all my mail and resynchronised it all so I > > guess it saw it too). > > ... > > 1) The easiest option seems to be to change the get_folder code to never > > do real folder syncs. Whenever the client asks for a folder list with > > retrieval from the server, just throw away the cache so the server will > > send all the folders (instead of updates, as happens today). This seems > > a bit extreme but it seems the easiest option, and folder lists seem > > unlikely to be much longer than a few contacts or events. It means that > > user intervention is necessary to fix the actual problem but the user > > can be told that when they see the "need FolderSync first" error they > > need to use "--print-databases" to force the FolderSync. > > ...
> Even if it is an uncommon problem, expecting users to perform some > manual operation to resolve it is not going to work well. > ... > For folder sync the situation is different. There is an automatic > response which does not involve data loss, so that's what should happen > without involving the user. Of course, implementing it is a different > matter... I understand your concern. Unfortunately, I am not up for creating the full solution at the moment. I have submitted my hack as patches in bug 61869 https://bugs.freedesktop.org/show_bug.cgi?id=61869. It works for me. Unless someone volunteers to do the full solution, I would encourage you to consider including this. It does, at least, allow a knowledgeable user to resolve the problem, using --print-databases, which they cannot do without this. Graham _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
