[Tickets #9964] SyncML module produces wrong WBXML encoding - syncing with some phones may fail

bugs at horde.org bugs at horde.org
Mon Apr 25 05:27:33 UTC 2011


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

Ticket-URL: http://bugs.horde.org/ticket/9964
------------------------------------------------------------------------------
  Ticket           | 9964
  Erstellt Von     | kaibin.bao at baihu.de
  Zusammenfassung  | SyncML module produces wrong WBXML encoding - syncing
                   | with some phones may fail
  Warteschlange    | Synchronization
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            | 1
  Zuständige       |
+Neue Anlage      | wbxmlencoder.patch
------------------------------------------------------------------------------


kaibin.bao at baihu.de (2011-04-25 05:27) hat geschrieben:

Bug in the WbXml-Encoder prevents syncing with my cell phone (Samsung  
GT-5230):

In horde/framework/Xml_Wbxml/lib/Horde/Xml/Wbxml/Encoder.php,
Horde_Xml_Wbxml_Encoder::startElement() calls changecodepage()  
serveral times because changecodepage() sets $this->_currentURI to a  
value other than $uri when called (see line 400).

The patch moves the code line "$this->_currentURI = $uri;" from  
changecodepage() to startElement() to improve locality of variables.






More information about the bugs mailing list