[Tickets #9339] Re: Wrong SQL Dates generated

bugs at horde.org bugs at horde.org
Mon Nov 8 10:22:11 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/9339
------------------------------------------------------------------------------
  Ticket             | 9339
  Updated By         | d-fens at 00010111.de
  Summary            | Wrong SQL Dates generated
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


d-fens at 00010111.de (2010-11-08 05:22) wrote:

hi,

i found the problem:

in SyncML/Backend/Horde.php Line 916 $registry->{$database}->listUids  
is called without a start/end parameter and the sql driver sets it to  
0/0 so changes from 1970to 1970 are searched

-                                 
SyncML_Backend::getParameter($databaseURI, 'source'));
+                                 
SyncML_Backend::getParameter($databaseURI, 'source'), $from_ts, $to_ts);

so now i get the events but finally a PHP Fatal error:
Call to undefined method Horde_Date::correct() in  
/var/www/_horde/horde/framework/Icalendar/lib/Horde/Icalendar.php on  
line 937

this protected call must be removed in Icalender.php as its already  
called from the Horde_Date object itself








More information about the bugs mailing list