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





--- Comment #4 from pohly <[email protected]>  2009-09-23 05:00:53 ---
(In reply to comment #3)
> 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.

... and it is only generated for backends which request serialization ;-)

The SynthesisInfo.m_profile member set by the backend determines whether that
part above is inserted into the config. Leaving it empty should lead to:
       <fieldmap fieldlist='contacts'>
         <automap/>
       </fieldmap>
and thus map all fields into the namespace accessible to backends.

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