[Tickets #9438] Re: authentication fails via syncml
bugs at horde.org
bugs at horde.org
Wed Mar 2 13:51:13 UTC 2011
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/9438
------------------------------------------------------------------------------
Ticket | 9438
Aktualisiert Von | d-fens at 00010111.de
Zusammenfassung | authentication fails via syncml
Warteschlange | Synchronization
Version | Git master
Typ | Bug
Status | Assigned
Priorität | 2. Medium
Milestone | 4.0
Patch | 1
Zuständige | Jan Schneider, Gunnar Wrobel
------------------------------------------------------------------------------
d-fens at 00010111.de (2011-03-02 13:51) hat geschrieben:
ok found another issue with funambol client:
when resetting contacts from client to server the session is started
and continued ok but closed one packet too early. All contacts were
replaces(added) and a final is sent to the client, which in turn
generates another packet but as the session got closed this last
packet fails, leading to a "sync error" on the client.
when commenting out the
$GLOBALS['backend']->sessionClose();
in horde/framework/SyncML/SyncML.php on line 529 the sync completes
fine, so somehow the handleEnd() Method still has a bug, i add the
last server/client packet that is kind of unexpected by the server
last server response:
<?xml version="1.0" encoding="UTF-8"?><SyncML
xmlns="syncml:syncml1.2"><SyncHdr><VerDTD>1.2</VerDTD><VerProto>SyncML/1.2</VerProto><SessionID>1299072838078</SessionID><MsgID>4</MsgID><Target><LocURI>fac-357841037330855</LocURI><LocName>simon at aktionspotenzial.de</LocName></Target><Source><LocURI>http://192.168.1.99/horde/rpc.php</LocURI></Source><RespURI>http://192.168.1.99/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>4</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>http://192.168.1.99/horde/rpc.php</TargetRef><SourceRef>fac-357841037330855</SourceRef><Data>200</Data></Status><Status><CmdID>2</CmdID><MsgRef>4</MsgRef><CmdRef>2</CmdRef><Cmd>Sync</Cmd><TargetRef>contacts</TargetRef><SourceRef>contacts</SourceRef><Data>200</Data></Status><Status><CmdID>3</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>741</SourceRef><Data>201</Data></Status><Status><CmdID>4</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>742</SourceRef><Data>201</Data></Status><Status><CmdID>5</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>743</SourceRef><Data>201</Data></Status><Status><CmdID>6</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>744</SourceRef><Data>201</Data></Status><Status><CmdID>7</CmdID><MsgRef>4</MsgRef><CmdR
ef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>745</SourceRef><Data>201</Data></Status><Status><CmdID>8</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>746</SourceRef><Data>201</Data></Status><Status><CmdID>9</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>747</SourceRef><Data>201</Data></Status><Status><CmdID>10</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>748</SourceRef><Data>201</Data></Status><Status><CmdID>11</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>749</SourceRef><Data>201</Data></Status><Status><CmdID>12</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>750</SourceRef><Data>201</Data></Status><Status><CmdID>13</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>751</SourceRef><Data>201</Data></Status><Status><CmdID>14</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>752</SourceRef><Data>201</Data></Status><Status>
<CmdID>15</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>753</SourceRef><Data>201</Data></Status><Status><CmdID>16</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>754</SourceRef><Data>201</Data></Status><Status><CmdID>17</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>755</SourceRef><Data>201</Data></Status><Status><CmdID>18</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>756</SourceRef><Data>201</Data></Status><Status><CmdID>19</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>757</SourceRef><Data>201</Data></Status><Status><CmdID>20</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>758</SourceRef><Data>201</Data></Status><Status><CmdID>21</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>759</SourceRef><Data>201</Data></Status><Status><CmdID>22</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>760</S
ourceRef><Data>201</Data></Status><Status><CmdID>23</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>761</SourceRef><Data>201</Data></Status><Status><CmdID>24</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>762</SourceRef><Data>201</Data></Status><Status><CmdID>25</CmdID><MsgRef>4</MsgRef><CmdRef>3</CmdRef><Cmd>Replace</Cmd><SourceRef>763</SourceRef><Data>201</Data></Status><Final></Final></SyncBody></SyncML>
then closing session in handleEnd()
and the unexpected response from client:
<SyncML>
<SyncHdr>
<VerDTD><![CDATA[1.2]]></VerDTD>
<VerProto><![CDATA[SyncML/1.2]]></VerProto>
<SessionID><![CDATA[1299072838078]]></SessionID>
<MsgID>5</MsgID>
<Target>
<LocURI><![CDATA[http://192.168.1.99/horde/rpc.php]]></LocURI>
</Target>
<Source>
<LocURI><![CDATA[fac-357841037330855]]></LocURI>
</Source>
</SyncHdr>
<SyncBody>
<Status>
<CmdID><![CDATA[1]]></CmdID>
<MsgRef><![CDATA[4]]></MsgRef>
<CmdRef><![CDATA[0]]></CmdRef>
<Cmd><![CDATA[SyncHdr]]></Cmd>
<TargetRef><![CDATA[fac-357841037330855]]></TargetRef>
<SourceRef><![CDATA[http://192.168.1.99/horde/rpc.php]]></SourceRef>
<Data><![CDATA[200]]></Data>
</Status>
<Final></Final>
</SyncBody>
</SyncML>
More information about the bugs
mailing list