[Tickets #10008] Re: SyncML in Horde 4 only does slow syncs

bugs at horde.org bugs at horde.org
Thu May 12 13:16:39 UTC 2011


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/10008
------------------------------------------------------------------------------
  Ticket           | 10008
  Aktualisiert Von | fritz at praus.at
  Zusammenfassung  | SyncML in Horde 4 only does slow syncs
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Bug
  Status           | Resolved
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


fritz at praus.at (2011-05-12 13:16) hat geschrieben:

I think, there still is a problem:

public function readSyncAnchors($databaseURI)
             $res = $this->_db->selectOne($query, $values);
             return array(
                 $res['syncml_clientanchor'],
                 $res['syncml_serveranchor']
             );

This returns an array.

In Line 537 in
public function writeSyncAnchors($databaseURI, $clientAnchorNext,
                               $serverAnchorNext)
there is an
  if (!$this->readSyncAnchors($databaseURI))


Hence, this fix only works, if an entry is already present and only  
UPDATE is called. If no entry is present, there will never be an  
INSERT and thus only slow sync occurs.






More information about the bugs mailing list