http://bugzilla.moblin.org/show_bug.cgi?id=5049





--- Comment #3 from Chen Congwu <[email protected]>  2009-09-23 03:00:28 ---
Current sysync_config xml is not friendly with direct field access backends:
"
 <!-- Mapping of the fields to the fieldlist -->
      <fieldmap fieldlist='contacts'>
        <initscript><![CDATA[
           string itemdata;
        ]]></initscript>
        <beforewritescript><![CDATA[
           $VCARD_INCOMING_SCRIPT_EVOLUTION;
           itemdata = MAKETEXTWITHPROFILE("vCard", 2, "EVOLUTION");
        ]]></beforewritescript>
        <afterreadscript><![CDATA[
           PARSETEXTWITHPROFILE(itemdata, "vCard", 2, "EVOLUTION");
        ]]></afterreadscript>
        <map name='data' references='itemdata' type='string'/>
        <automap/>
      </fieldmap>
"
This part looks only works with serialized backends. With a direct field access
backend, no need for the dummy variable data-itemdata mapping and the
"EVOLUTION" remote rule will not either.

This part of configuration generation need be more flexible instead of fixed.

-- 
Configure bugmail: http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to