[Tickets #14039] Re: Kolab: Initial folder sync is done twice

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jul 23 15:15:59 UTC 2015


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

Ticket URL: https://bugs.horde.org/ticket/14039
------------------------------------------------------------------------------
  Ticket             | 14039
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Kolab: Initial folder sync is done twice
  Queue              | Horde Framework Packages
  Type               | Bug
-State              | Assigned
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2015-07-23 15:15) wrote:

Found it. It really has nothing to do with the sync strategy in use.  
The issue is that Kolab/Turba treat distribution lists and contacts as  
essentially two different data types. In Turba_Driver_Kolab::connect,  
each is fetched separately, and following the code down the stack for  
each $type we eventually get to Kolab_Storage_Base::getData(), which  
caches each $type separately. Therefore, even if we already  
synchronized the contact objects, when we query for the  
distribution-lists, this will create (or fetch an already created) a  
separate cache.

This is deep in the existing design of the storage library, not sure  
how to work around that if the two types need to be treated separately.





More information about the bugs mailing list