steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy freebusy.class.php, 1.5, 1.6

cvs at intevation.de cvs at intevation.de
Tue Oct 19 01:53:09 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv7317/kolab-resource-handlers/freebusy

Modified Files:
	freebusy.class.php 
Log Message:
fix for issue471 (some events could not be parsed)

Index: freebusy.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- freebusy.class.php	16 Oct 2004 10:05:16 -0000	1.5
+++ freebusy.class.php	18 Oct 2004 23:53:07 -0000	1.6
@@ -89,7 +89,7 @@
       foreach ($parts as $mimeid => $conttype) {
 	if ($conttype == 'application/x-vnd.kolab.event') {
 	  $part = $mimemsg->getPart($mimeid);
-	
+	  $part->transferDecodeContents();
 	  $event = $this->getEventHash($part->getContents());
 	  if ($event === false) {
 	    continue;
@@ -248,6 +248,7 @@
     
     if (!empty($error)) {
       // There were errors parsing the XML data - abort
+      myLog( "Error parsing \"$xml_txt\": $error", RM_LOG_ERROR);
       return false;
     }
     





More information about the commits mailing list