Hi Thomas,
For memos, for refresh-from-server sync, memotoo server is sending data in unexpected ‘iCalendar’ format which is not listed in Server Device info.
Device Info from syncevolution-client :
- - <DataStore>
<SourceRef>./memo</SourceRef>
<DisplayName>memo</DisplayName>
<MaxGUIDSize>64</MaxGUIDSize>
- <Rx-Pref>
<CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Rx-Pref>
- <Rx>
<CTType>text/plain</CTType>
<VerCT>1.0</VerCT>
</Rx>
- <Tx-Pref>
<CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Tx-Pref>
- <Tx>
<CTType>text/plain</CTType>
<VerCT>1.0</VerCT>
</Tx>
- Device Info from MemoToo server :
- <DataStore>
<SourceRef>note</SourceRef>
<DisplayName>Notes</DisplayName>
- <Rx-Pref>
<CTType>text/x-vnote</CTType>
<VerCT>1.1</VerCT>
</Rx-Pref>
- <Rx>
<CTType>text/plain</CTType>
<VerCT>1.0</VerCT>
</Rx>
- <Tx-Pref>
<CTType>text/x-vnote</CTType>
<VerCT>1.1</VerCT>
</Tx-Pref>
- <Tx>
<CTType>text/plain</CTType>
<VerCT>1.0</VerCT>
</Tx>
But the data received from server is in iCalendar format where expected ‘text/plain’:
- <Meta>
<Type xmlns="syncml:metinf">text/calendar</Type>
</Meta>
- <Data>
- <![CDATA[
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VJOURNAL
SUMMARY:Test Memo With Descr...
DESCRIPTION:Test Memo With Description\nDescription : Created at at Client.
END:VJOURNAL
END:VCALENDAR
]]>
The same item was sent(two-way sync) by client in ‘text/plain’ format :
<Data>
- <![CDATA[
Test Memo With DescriptionDescription : Created at at Client. ]]>
</Data>
but while receiving from server, server is sending in ‘text/calendar’ format(with wrong DESCRIPTION) in refresh-from-server sync.
Note : This is happening only in ‘refresh-from-server’ sync. In ‘slow/two-way’ sync everything exchanged in ‘text/plain’ format.
You can find complete logs here :
slow-sync : http://runtests.syncevolution.org/testing_memotoo/memotoo-2011-07-25-11-52/
refresh-from-server : http://runtests.syncevolution.org/testing_memotoo/memotoo-2011-07-25-11-53/
Thanks & Regards,
Amarnath