6.0.0-beta1
7/5/25

[#10459] Slow Sync (201) throws error
Summary Slow Sync (201) throws error
Queue Synchronization
Queue Version Git master
Type Bug
State Duplicate
Priority 3. High
Owners
Requester q0107 (at) cuba (dot) ionum (dot) ch
Created 08/26/2011 (5062 days ago)
Due
Updated 11/30/2011 (4966 days ago)
Assigned
Resolved 11/30/2011 (4966 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/30/2011 05:01:06 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
08/26/2011 10:44:04 AM q0107 (at) cuba (dot) ionum (dot) ch Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Slow Sync (201) throws error
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
Reply to this comment
A slow sync initiated even from horde, throws an error because horde 
tries to add all sent items from client.

but on a slow sync, client must send all this items and then server 
must merge all items (on server and on client).

below first message from server:

<?xml version="1.0" encoding="UTF-8"?>
<SyncML xmlns="syncml:syncml1.2">
<SyncHdr>
<VerDTD>1.2
</VerDTD>
<VerProto>SyncML/1.2
</VerProto>
<SessionID>1314352959
</SessionID>
<MsgID>1
</MsgID>
<Target>
<LocURI>test01
</LocURI>
<LocName>xxxxx@xxxxxx.ch
</LocName>
</Target>
<Source>
<LocURI>http://xxxxx.xxxx.ch/rpc.php
</LocURI>
</Source>
<RespURI>http://xxxxx.xxxx.ch/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://xxxxx.xxxx.ch/rpc.php
</TargetRef>
<SourceRef>test01
</SourceRef>
<Data>212
</Data>
</Status>
<Status>
<CmdID>2
</CmdID>
<MsgRef>1
</MsgRef>
<CmdRef>1
</CmdRef>
<Cmd>Alert
</Cmd>
<TargetRef>card
</TargetRef>
<SourceRef>card
</SourceRef>
<Data>508
</Data>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Last>1314352933
</Last>
<Next>1314352959
</Next>
</Anchor>
</Data>
</Item>
</Status>
<Alert>
<CmdID>3
</CmdID>
<Data>201
</Data>
<Item>
<Target>
<LocURI>card
</LocURI>
</Target>
<Source>
<LocURI>card
</LocURI>
</Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Last>0
</Last>
<Next>1314352959
</Next>
</Anchor>
<MaxObjSize xmlns="syncml:metinf">1000000000
</MaxObjSize>
</Meta>
</Item>
</Alert>
<Status>
<CmdID>4
</CmdID>
<MsgRef>1
</MsgRef>
<CmdRef>2
</CmdRef>
<Cmd>Alert
</Cmd>
<TargetRef>contact
</TargetRef>
<SourceRef>contact
</SourceRef>
<Data>508
</Data>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Last>1314350275
</Last>
<Next>1314352959
</Next>
</Anchor>
</Data>
</Item>
</Status>
<Alert>
<CmdID>5
</CmdID>
<Data>201
</Data>
<Item>
<Target>
<LocURI>contact
</LocURI>
</Target>
<Source>
<LocURI>contact
</LocURI>
</Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Last>0
</Last>
<Next>1314352959
</Next>
</Anchor>
<MaxObjSize xmlns="syncml:metinf">1000000000
</MaxObjSize>
</Meta>
</Item>
</Alert>
<Status>
<CmdID>6
</CmdID>
<MsgRef>1
</MsgRef>
<CmdRef>3
</CmdRef>
<Cmd>Alert
</Cmd>
<TargetRef>event
</TargetRef>
<SourceRef>event
</SourceRef>
<Data>508
</Data>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Last>1314352933
</Last>
<Next>1314352959
</Next>
</Anchor>
</Data>
</Item>
</Status>
<Alert>
<CmdID>7
</CmdID>
<Data>201
</Data>
<Item>
<Target>
<LocURI>event
</LocURI>
</Target>
<Source>
<LocURI>event
</LocURI>
</Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Last>0
</Last>
<Next>1314352959
</Next>
</Anchor>
<MaxObjSize xmlns="syncml:metinf">1000000000
</MaxObjSize>
</Meta>
</Item>
</Alert>
<Status>
<CmdID>8
</CmdID>
<MsgRef>1
</MsgRef>
<CmdRef>4
</CmdRef>
<Cmd>Alert
</Cmd>
<TargetRef>calendar
</TargetRef>
<SourceRef>calendar
</SourceRef>
<Data>508
</Data>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Last>1314350275
</Last>
<Next>1314352959
</Next>
</Anchor>
</Data>
</Item>
</Status>
<Alert>
<CmdID>9
</CmdID>
<Data>201
</Data>
<Item>
<Target>
<LocURI>calendar
</LocURI>
</Target>
<Source>
<LocURI>calendar
</LocURI>
</Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Last>0
</Last>
<Next>1314352959
</Next>
</Anchor>
<MaxObjSize xmlns="syncml:metinf">1000000000
</MaxObjSize>
</Meta>
</Item>
</Alert>
<Get>
<CmdID>10
</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>

then client sends all items and server responds with:

<head><!--a75c305b1c0a6022--><title>Horde :: Fatal Error</title></head>
<body style="background:#fff; color:#000"><h1>A fatal error has 
occurred</h1><h3>Already Exists</h3><h3>Details have been logged for 
the administrator.</h3></body>
</html>

Saved Queries