On Do, 2010-11-04 at 09:13 +0000, [email protected] wrote:
> Hi Patrick,
> 
> On Thu, 4 Nov 2010, Patrick Ohly wrote:
> > No surprise, I never really expected it to be complete ;-}
> 
> But it gave a good hint to me to allow at least one synchronisation.
> 
> > "addressbook" is the real local name. The "URI" property sets an alias.
> > That should be checked somewhere by the code, so if you update your
> > SyncEvolution contact to have "uri = Contacts" in
> > "addressbook/config.ini", then it might work without the explicit
> > isDatastore hack.
> 
> I tried different uri parameters, fName is always “addressbook”, even if 
> the XML shows <alias name='Contacts'/>.

That's expected. I don't know where libsynthesis stores aliases, but
they must be somewhere and should be used when locating the right data
store based on the Target URI sent to us.

> You can try it out by yourself by setting aLocalDatastoreURI to an empty 
> string at line 3622 and changing line 4612 of syncsession.cpp to

Perhaps the right fix is to ensure that the correct aLocalDatastoreURI
is set? I could imagine that this needs to be "addressbook", even in the
case of "Target URI Contacts" and <alias name="Contacts">.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to