|
From: Henrik /K. <he...@ka...> - 2009-11-21 09:21:04
|
Daniel Gollub wrote: > 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? > > Yes! Thank you very much for the explanation. I will see what I can do... /Henrik |