Paul Rensing wrote:
I am testing out Opensync and came across a problem syncing Evolution2 to the File plugin. The problem is that Evo2 has entries in the VCARD (contact): X-EVOLUTION-LAST-USE X-EVOLUTION-USE-SCORE The file-sync plugin outputs the values but not the labels into the files on disk. For example:
:2004-11-05 :1.973193
Presumably, this could be fixed by adding those to the evolution XML extensions, however, I wonder if that is the right way to go. Presumably, many plugins will have extension fields which one would not want to track. The XML format could have a generic parameter format, something like:
<param name="X-EVOLUTION-LAST-USE">2004-11-05</param>
it would be the correct thing to do. the xml format is supposed to support _everything_ that the other format can support (besides local stuff like the uid). This should be done since at some point opensync is supposed to support "merging" of objects and if we dont convert information to the xml format we would loose it.
Opensync already has support for mapping fields it does not know yet. Normally it should add a <UnknownNode> node to the xml doc but i guess there must be a bug since it is not working for you :)
could you please turn on tracing with: export OSYNC_TRACE=/path/to/some/log/directory and run the command again that yielded this wrong conversion? you can either send the resulting Thread*.log files directly or just the conversion part (the interesting part would be the input vcard and the output xml tree)
what version of evolution and evolution-data-server are you running?
Paul Rensing
signature.asc
Description: OpenPGP digital signature