Hi Nicolas,
I haven't had a chance to run any tests yet, but I suspect that they won't
want to remove the state check, unless they know why it's failing first.
Above those if statements, is the call:
if (!osync_sink_state_equal(state_db, "uri", evo_cal->uri,
&state_match, &error)) {
This is correspondingly set in the function evo2_ecal_sync_done().
Can you add some printf's and see why they are different at those two
places when syncing 3 formats at once?
- Chris
On Sat, May 02, 2009 at 08:54:09PM +0200, Nicolas wrote:
> In fact, I think that there is a bug in evolution opensync plugin !
>
> Indeed, you can't sync in the same time calendar, memos and tasks !
>
> I have applied this patch about evolution opensync plugin :
>
> Index: src/evolution2_ecal.c
> ===================================================================
> --- src/evolution2_ecal.c (r??vision 5634)
> +++ src/evolution2_ecal.c (copie de travail)
> @@ -102,10 +102,10 @@
> osync_error_set(&error, OSYNC_ERROR_GENERIC, "Anchor comparison
> failed for objtype \"%s\"", osync_objtype_sink_get_name(sink));
> goto error_free_cal;
> }
> - if (!state_match) {
> - osync_trace(TRACE_INTERNAL, "ECal slow sync, due to anchor
> mismatch
> for objtype \"%s\"", osync_objtype_sink_get_name(sink));
> - osync_context_report_slowsync(ctx);
> - }
> +// if (!state_match) {
> +// osync_trace(TRACE_INTERNAL, "ECal slow sync, due to anchor
> mismatch
> for objtype \"%s\"", osync_objtype_sink_get_name(sink));
> +// osync_context_report_slowsync(ctx);
> +// }
>
> osync_context_report_success(ctx);
>
> Otherwise you get always a slow-sync process.
>
>
> Regards,
>
>
> Le samedi 02 mai 2009 ?? 16:31 +0200, Nicolas a ??crit :
> > Warning, I think that there is an issue if you enable all feature
> > (contact, event, memo, task)...
> >
> > Regards,
> >
> > Le samedi 02 mai 2009 ?? 12:55 +0200, Nicolas a ??crit :
> > > With the patch, it's better
> > >
> > > Le samedi 02 mai 2009 ?? 12:30 +0200, Nicolas a ??crit :
> > > > Hi,
> > > >
> > > > Here a patch to sync task.
> > > >
> > > > Warning all BlackBerry fields aren't correctly mapped with Evolution.
> > > >
> > > > Sample, Task.StartTime and Task.DueTime are inverted.
> > > > Moreover, on my BlackBerry Storm, I haven't the field StartTime !
> > > >
> > > > Task sync can be completed to add Alarm, recurrence... (I don't know if
> > > > Evolution is able to manage these features)
> > > >
> > > > Regards,
> > >
> > > ------------------------------------------------------------------------------
> > > Register Now & Save for Velocity, the Web Performance & Operations
> > > Conference from O'Reilly Media. Velocity features a full day of
> > > expert-led, hands-on workshops and two days of sessions from industry
> > > leaders in dedicated Performance & Operations tracks. Use code vel09scf
> > > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> > > _______________________________________________ Barry-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/barry-devel
>
> --
> Nicolas VIVIEN
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Barry-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/barry-devel
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel