[sync] syncml and horde 4

Jan Schneider jan at horde.org
Thu Jul 21 15:28:15 UTC 2011


Zitat von LALOT Dominique <dom.lalot at gmail.com>:

> 2011/7/21 LALOT Dominique <dom.lalot at gmail.com>
>
>> Hello,
>>
>> Doing the last tests with an iphone 3.x before migrating:
>>
>> Activesync is now OK may be thanks to the last patch
>>
>> Testing the syncml part now:
>> .
>> With horde 3.3.5, kronolith 2.3.2 syncml is working well using todo+ical
>>
>> now going to last versions:
>> I can download my 216 events, modify them, delete them from iphone. But no
>> modifications from server arep updated on the iphone.
>> I completely wipe iphone data several times, wipe syncml data anchor on
>> server, but I am still in a single way updating only from iphone to server
>> except from the initial data download.
>>
>>
> I tried with funambol and lightning and observe the same problem.
> Fortunately, funambol is a little more verbose, looking at the log:
>
> 16:45:11 GMT +1:00 [DEBUG] - Connecting to horde4.univmed.fr:80
> 16:45:11 GMT +1:00 [DEBUG] - Requesting resource /horde/rpc.php
> 16:45:11 GMT +1:00 [DEBUG] - Message sent
> 16:45:11 GMT +1:00 [DEBUG] - Data sent successfully to server. Server
> responds OK
> 16:45:11 GMT +1:00 [DEBUG] - Header:
> 16:45:11 GMT +1:00 [DEBUG] - Reading response...
> 16:45:11 GMT +1:00 [DEBUG] - Content-length: 3822
> 16:45:11 GMT +1:00 [DEBUG] - Response read:
> <?xml version="1.0" encoding="UTF-8"?><SyncML
> xmlns="syncml:syncml1.2"><SyncHdr><VerDTD>1.2</VerDTD><VerProto>SyncML/1.2</VerProto><SessionID>1311259511</SessionID><MsgID>1</MsgID><Target><LocURI>fmz-eJzXvMkUnHExfLAcGcpP9Q==</LocURI><LocName>lalot</LocName></Target><Source><LocURI>
> http://horde4.univmed.fr/horde/rpc.php</LocURI></Source><RespURI>
> http://horde4.univmed.fr/horde/rpc.php</RespURI><Meta><MaxMsgSize
> xmlns="syncml:metinf">1000000000</MaxMsgSize><MaxObjSize
> xmlns="syncml:metinf">1000000000</MaxObjSize></Meta></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>
> http://horde4.univmed.fr/horde/rpc.php</TargetRef><SourceRef>fmz-eJzXvMkUnHExfLAcGcpP9Q==</SourceRef><Data>212</Data></Status><Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>1</CmdRef><Cmd>Alert</Cmd><TargetRef>event</TargetRef><SourceRef>event</SourceRef><Data>200</Data><Item><Data><Anchor
> xmlns="syncml:metinf"><Last>1311259477</Last><Next>1311259511</Next></Anchor></Data></Item></Status><Alert><CmdID>3</CmdID><Data>200</Data><Item><Target><LocURI>event</LocURI></Target><Source><LocURI>event</LocURI></Source><Meta><Anchor
> xmlns="syncml:metinf"><Last>1311259472</Last><Next>1311259506</Next></Anchor><MaxObjSize
> xmlns="syncml:metinf">1000000000</MaxObjSize></Meta></Item></Alert><Status><CmdID>4</CmdID><MsgRef>1</MsgRef><CmdRef>2</CmdRef><Cmd>Get</Cmd><TargetRef>./devinf12</TargetRef><Data>200</Data></Status><Results><CmdID>5</CmdID><MsgRef>1</MsgRef><CmdRef>2</CmdRef><Meta><Type
> xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type></Meta><Item><Source><LocURI>./devinf12</LocURI></Source><Data><DevInf
> xmlns="syncml:devinf"><VerDTD>1.2</VerDTD><Man>The Horde Project (
> http://www.horde.org/)</Man><DevID>horde4.univmed.fr</DevID><DevTyp>server</DevTyp><SupportLargeObjs></SupportLargeObjs><SupportNumberOfChanges></SupportNumberOfChanges><DataStore><SourceRef>notes</SourceRef><Rx-Pref><CTType>text/plain</CTType><VerCT>1.0</VerCT></Rx-Pref><Tx-Pref><CTType>text/plain</CTType><VerCT>1.0</VerCT></Tx-Pref><SyncCap><SyncType>1</SyncType><SyncType>2</SyncType><SyncType>3</SyncType><SyncType>4</SyncType><SyncType>5</SyncType><SyncType>6</SyncType></SyncCap></DataStore><DataStore><SourceRef>contacts</SourceRef><Rx-Pref><CTType>text/directory</CTType><VerCT>3.0</VerCT></Rx-Pref><Rx><CTType>text/x-vcard</CTType><VerCT>2.1</VerCT></Rx><Tx-Pref><CTType>text/directory</CTType><VerCT>3.0</VerCT></Tx-Pref><Tx><CTType>text/x-vcard</CTType><VerCT>2.1</VerCT></Tx><SyncCap><SyncType>1</SyncType><SyncType>2</SyncType><SyncType>3</SyncType><SyncType>4</SyncType><SyncType>5</SyncType><SyncType>6</SyncType></SyncCap></DataStore><DataStore><SourceRef>tasks</SourceR
 ef><Rx-P
> ref><CTType>text/calendar</CTType><VerCT>2.0</VerCT></Rx-Pref><Rx><CTType>text/x-vcalendar</CTType><VerCT>1.0</VerCT></Rx><Tx-Pref><CTType>text/calendar</CTType><VerCT>2.0</VerCT></Tx-Pref><Tx><CTType>text/x-vcalendar</CTType><VerCT>1.0</VerCT></Tx><SyncCap><SyncType>1</SyncType><SyncType>2</SyncType><SyncType>3</SyncType><SyncType>4</SyncType><SyncType>5</SyncType><SyncType>6</SyncType></SyncCap></DataStore><DataStore><SourceRef>calendar</SourceRef><Rx-Pref><CTType>text/calendar</CTType><VerCT>2.0</VerCT></Rx-Pref><Rx><CTType>text/x-vcalendar</CTType><VerCT>1.0</VerCT></Rx><Tx-Pref><CTType>text/calendar</CTType><VerCT>2.0</VerCT></Tx-Pref><Tx><CTType>text/x-vcalendar</CTType><VerCT>1.0</VerCT></Tx><SyncCap><SyncType>1</SyncType><SyncType>2</SyncType><SyncType>3</SyncType><SyncType>4</SyncType><SyncType>5</SyncType><SyncType>6</SyncType></SyncCap></DataStore></DevInf></Data></Item></Results><Get><CmdID>6</CmdID><Meta><Type
> xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type></Meta><Item><Target><LocURI>./devinf12</LocURI></Target></Item></Get><Final></Final></SyncBody></SyncML>
> 16:45:11 GMT +1:00 [DEBUG] - Server capabilities obtained
> 16:45:11 GMT +1:00 [DEBUG] - [event] Retrieving modifications...
> *16:45:11 GMT +1:00 [DEBUG] - [event] There are no more new items to be
> exchanged.
> 16:45:11 GMT +1:00 [DEBUG] - [event] There are no more updated items to be
> exchanged.
> 16:45:11 GMT +1:00 [DEBUG] - [event] There are no more deleted items to be
> exchanged.*
> 16:45:11 GMT +1:00 [DEBUG] - Modification message: estimated size 0, allowed
> size 250000, real size 4506 / estimated size 0 = 100%
> 16:45:11 GMT +1:00 [DEBUG] - <?xml version="1.0" encoding="UTF-8"?>
> <SyncML>
>
> It appears that nothing has changed and it was not the case. Is there
> somewhere a pref I forgot, the history table broken?

Are the history dates of these object correct?

> What is good ito knwo,
> is that it's not related to the iphone, but syncml on the server side.
>
> What can I do  for debugging?

http://wiki.horde.org/SyncMLProblemReport

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sync mailing list