[Tickets #8474] Re: All day events cause crash with Funambol outlook connector

bugs at horde.org bugs at horde.org
Fri Aug 14 15:05:33 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8474
------------------------------------------------------------------------------
  Ticket             | 8474
  Updated By         | lst_hoe02 at kwsoft.de
  Summary            | All day events cause crash with Funambol outlook
                     | connector
  Queue              | SyncML
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lst_hoe02 at kwsoft.de (2009-08-14 11:05) wrote:

This where the changes which break Funambol/Outlook (Bug #6847)

@@ -840,7 +843,7 @@ class SyncML_Device_sync4j extends SyncM
                  if (!empty($item['params']['VALUE']) &&
                      $item['params']['VALUE'] == 'DATE') {
                      $hash['AllDayEvent'] = 1;
-                    $hash['Start'] = sprintf('%04d-%02d-%02d',
+                    $hash['Start'] = sprintf('%04d-%02d-%02dT00:00:00Z',
                                               $item['value']['year'],
                                               $item['value']['month'],
                                               $item['value']['mday']);
@@ -858,9 +861,9 @@ class SyncML_Device_sync4j extends SyncM

              case 'DTEND':
                  if (!empty($item['params']['VALUE']) &&
-                    $item['params']['VALUE'] == "DATE") {
+                    $item['params']['VALUE'] == 'DATE') {
                      $hash['AllDayEvent'] = 1;
-                    $hash['End'] = sprintf('%04d-%02d-%02d',
+                    $hash['End'] = sprintf('%04d-%02d-%02dT00:00:00Z',

Seams Funambol does not like too many zeros :-(







More information about the bugs mailing list