[Tickets #5578] Turba contact lists could lose entries when switching share support on or off

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Jul 24 16:49:41 UTC 2007


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

Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=5578
-----------------------------------------------------------------------
 Ticket             | 5578
 Created By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | Turba contact lists could lose entries when switching share support on
                    | or off
 Queue              | Turba
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Owners             | Michael Rubinsky
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2007-07-24 09:49) wrote:

Currently, if we change the value of 'use_shares' for a given source
(either turning on or off share support) any contacts contained in that
source that are present in a contact list in another source would be
removed from that list.  This is due to the fact that the contact list uses
the $cfgSource array key to signify what source the contact is from, and
when we switch share support, the key changes.  For this issue we *could*
say that changing from shares to no shares (or vice versa) constitutes a
change in sources so losing those contact list entries makes sense (thus
turning this issue basically into a note on the UPGRADE doc).

This could also happen, however, when upgrading to Turba 2.2 when the
flatten shares upgrade script is run since this could also change the
$cfgSource array keys as well.  Fixing this in the upgrade script is not
possible for all sources since we would run into authentication issues with
some backends.  We would have to build in some sort of maintenance in Turba
to  run a conversion, although I haven't looked deeply enough at this yet
to know if it is 100% possible or not.... 

Thoughts?



More information about the bugs mailing list