[Tickets #10422] Synchronization fails when turba objects have been deleted
bugs at horde.org
bugs at horde.org
Thu Aug 11 15:43:37 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10422
------------------------------------------------------------------------------
Ticket | 10422
Created By | hordebug at zulan.net
Summary | Synchronization fails when turba objects have been
| deleted
Queue | Turba
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
hordebug at zulan.net (2011-08-11 15:43) wrote:
I ran into the following error when synchronizing my contacts with syncml:
PHP Fatal error: Call to a member function isGroup() on a non-object
in /home/tilsche/www/horde/turba/lib/Api.php on line 542
bd5d69849182866729bfc77aa097ca8e4ecd1281 introduced the filtering of
sync results for groups. This fails for non-existing turba_objects, it
seems to be the case when a turba object has been deleted - it is in
the history but cannot be retrieved (and cannot be checked for being a
group or not).
I have implemented a quick fix by checking for non-null before
checking for group.
http://zulan.net/0002-Fixed-bug-when-tracking-the-history-of-deleted-turba.patch
It works for me but I am not sure if this covers all cases (e.g. what
about deleted groups?).
More information about the bugs
mailing list