Hi all,

Quick update on the N85 sync -- or generic S60 sync if we're lucky: Patrick made some changes on monday and I can currently do some sort of syncs on all sources. Patricks work is in pohly branch ATM.

So status by source type:

1. Memo seems to work fully.

2. Addressbook sync itself seems to work but there is a major problem: the vcards from the phone contain very little data: no phone number or email for example. This is bug #8868. PC Suite snooping may be required before fixing.

3. calendar+todo syncs fine otherwise, but the client will return 500 to any "Replace" commands, so server side modifications do not work at the moment. As far as I can see this only happens to Replace and only on calendar+todo. Here is an example (timestamps removed for readability):

* Started processing Command 'Status' (incoming MsgID=3, CmdID=3)
* WARNING: RECEIVED NON-OK STATUS 500 for command 'Replace' (outgoing MsgID=2, CmdID=5)
* - TargetRef (remoteID) = '145'
* Found matching command 'Replace' for Status
* dsConfirmItemOp completed, syncop=replace, localID='', remoteID='145', FAILURE, errorstatus=500 * Status: General error 500 (original op was wants-replace) -> marking item for resend in next session * localID='w64241AY4EIva653k52Yn2-rid' marked for resending by setting mapflag_resend (AND mark for eventual resume!), flags now=0x20
* Status: processed, removed command 'Replace' from status wait queue
* Status: command 'Replace' has handled status and allows to be deleted
* Deleted command 'Replace' (outgoing MsgID=2, CmdID=5)
* Deleted command 'Status' (incoming MsgID=3, CmdID=3)

I thought maybe there is something wrong with the outgoing syncml (a web search indicated the Nokia client responds with 500 if e.g. <NumberOfItems> is in the wrong place in <Sync> but I can't see anything wrong here:

<Sync>
    <CmdID>4</CmdID>
    <Target><LocURI>./C:Calendar</LocURI></Target>
    <Source><LocURI>./Calendar</LocURI></Source>
    <NumberOfChanges>1</NumberOfChanges>
    <Replace>
        <CmdID>5</CmdID>
        <Meta><Type xmlns='syncml:metinf'>text/x-vcalendar</Type></Meta>
        <Item>
            <Target><LocURI>145</LocURI></Target>
            <Data>
                <![CDATA[BEGIN:VCALENDAR
                VERSION:1.0
                TZ:+02:00
                
DAYLIGHT;ENCODING=QUOTED-PRINTABLE:TRUE;+03;20100328T010000Z;20101=
                
031T010000Z;;freeassociation.sourceforge.net;Tzfile;Europe;Helsink=
                i
                BEGIN:VEVENT
                LAST-MODIFIED:20100215T191439Z
                UID:w64241AY4EIva653k52Yn2
                SEQUENCE:1
                CLASS:PRIVATE
                PRIORITY:2
                SUMMARY:Test
                DESCRIPTION:Test . . . edit on server
                DTSTART:20100217T060000Z
                DTEND:20100217T060000Z
                END:VEVENT
                END:VCALENDAR
                ]]>
            </Data>
        </Item>
    </Replace>
</Sync>



Should I upload the whole logs somewhere or do we need to take a wireshark look at what PC Suite sends the phone in a similar situation? Maybe it is expecting something not specified in the OMA spec?

-Jussi
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to