Don't throw an exception here.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 5 Apr 2010 21:37:01 +0000 (17:37 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 5 Apr 2010 21:37:01 +0000 (17:37 -0400)
This might be an end tag instead of content...some clients seem to send
tag pairs even when there is no content...this allows them to continue working
withoug throwing fatal errors

framework/ActiveSync/lib/Horde/ActiveSync/Message/Base.php

index d89a5f0..14c2de9 100644 (file)
@@ -197,7 +197,7 @@ class Horde_ActiveSync_Message_Base
                             $decoded = $decoder->getElementContent();
                             if ($decoded === false) {
                                 $this->_logError('Unable to get content for ' . $entity[Horde_ActiveSync_Wbxml::EN_TAG]);
-                                throw new Horde_ActiveSync_Exception('Unknown parsing error.');
+                                //throw new Horde_ActiveSync_Exception('Unknown parsing error.');
                             }
 
                             if (!$decoder->getElementEndTag()) {