|
From: Daniel G. <go...@b1...> - 2009-11-20 11:49:11
|
On Monday 09 November 2009 07:19:37 pm Henrik /KaarPoSoft wrote: > However, I have a question: > > Assume we have a group with two members M1 and M2. > Member M1 supports ObjFormat F1 with capabilities CAP1, and member M2 > supports ObjFormat F2 with capabilities CAP2. > > The function _osync_obj_engine_mapping_find will try to compare two > changes CHANGE1 and CHANGE2 from the two members. > This is done by: _osync_obj_engine_clone_and_demerge_change(CAPS2, > CHANGE1) and _osync_obj_engine_clone_and_demerge_change(CAPS1, CHANGE2). > > This means, that an ObjFormat F1, which supplies a (de)merger with > capabilties CAP1, needs to be able to demerge changes of ObjFormat F2, > which it does not know. OSyncCapsConverter take care about converting the caps-format to something the demerge of F1 can handle ... For example the vformat plugins provides a caps-format converter for vformat to xmlformat capabilities. So if the caps are reported in caps-format vformat .. and the entry to compare is in xmlformat-contact, the caps get converted by this caps-format-converter ... > > Some guidance on how the is supposed to work would be most appreciated. > Does this help? Best Regards, Daniel -- Daniel Gollub Geschaeftsfuehrer: Ralph Dehner FOSS Developer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-160 47 73 970 Handelsregister: HRB 3537 EMail: go...@b1... http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D |