On Thu, 4 Nov 2010, Patrick Ohly wrote:
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.

Ok. TLocalEngineDS defines an isDatastoreAlias function, maybe this could be used. There is also a definition for isDatastore, which considers the aliases, but TSyncSession::findLocalDataStore calls TSyncDataStore::isDatastore, although these are TLocalEngineDS objects:

typedef std::list<TLocalEngineDS*> TLocalDataStorePContainer; // contains local 
data stores

I'm a little bit worried now.

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">.

It seems so. Can you try this out with a working phone?

Kind regards,

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

Reply via email to