6.0.0-alpha14
6/23/25

[#5579] Turba flatten shares script cannot update user prefs
Summary Turba flatten shares script cannot update user prefs
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester mrubinsk (at) horde (dot) org
Created 07/24/2007 (6544 days ago)
Due
Updated 08/02/2007 (6535 days ago)
Assigned
Resolved 08/02/2007 (6535 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/02/2007 08:31:41 PM Michael Rubinsky Comment #2
State ⇒ Resolved
Reply to this comment
Fixed by adding maintenance tasks to Turba.

Please test.
07/26/2007 12:11:31 AM Michael Rubinsky Assigned to Michael Rubinsky
 
07/24/2007 05:04:18 PM Michael Rubinsky Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Turba flatten shares script cannot update user prefs
Queue ⇒ Turba
State ⇒
Reply to this comment
Running the flatten shares upgrade can corrupt various user prefs 
related to address books.  This is due to the fact that:



1) Outside of a user session, we could only upgrade SQL pref backends.



2) Prior to the upgrade, the user's default address book a particular 
share enabled source was simply the name of the source ('localsql' for 
example). In the upgrade script we would have to know if a particular 
entry in the pref refers to a share enabled default address book, a 
share-enabled non-default address book or an address book from a 
non-share enabled source.  This might be possible to do, but again, 
would only be doable from SQL pref backends.



We either need to document that user's prefs might need resetting for 
non SQL pref backends or figure out a way to do this from within the 
user's session .

Saved Queries