[Tickets #13394] Re: Calender won't get synched

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jul 24 11:27:31 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/13394
------------------------------------------------------------------------------
  Ticket             | 13394
  Updated By         | thomas at trethan.net
  Summary            | Calender won't get synched
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


thomas at trethan.net (2014-07-24 11:27) wrote:

Found the problem:

In SyncMl/Backend/Horde.php in function retrieveEntry() the export  
function is called with $fields as 4th parameter, passing the accepted  
sync fields to the export function.

In kronolith/lib/Api.php the 4th parameter of the function export() is  
$calenders. Therefore the passed fields (which are arrays) get added  
to the searched calenders, which will throw an sql exception and won't  
export anything.

This change in the export function was made here, but I don't figured  
out why or where else this might by used:
https://github.com/horde/horde/commit/1ce32155134bdcb36bc1f63f740b881aec2b6819

Interesting note: I encountered the problem twice now; after it  
happened the first time, sync started to work "magically" again some  
time later, before I could manage to debug. Now - some time passed -  
it happened again. Don't know why it worked in between, no server  
upgrades/patches took place...





More information about the bugs mailing list