unknown
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10903] IMP don't use correcty the selected address books list after logout and new login
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . . __.. , |\ |[ __|__|(__ \./ | \|[_./| |.__) |
Comment
>> I can't reproduce this locally, but on demo.horde.org. And there is >> something really, really strange going on. >> The values in the database are indeed correct. But >> $GLOBALS['prefs']->getValue('search_sources') in >> IMP::getAddressbookSearchParams() returns a JSON string with all >> address books. It's not the default value either (isDefault() returns >> false and getDefault() does not return all address books). This got >> to be some side-effect like variable pollution or something. > > My guess is that the Turba upgrade task is overwriting the value on > every login, since it directly writes to IMP's preference. Which > would only happen if you are not using a sticky preferences backend. > > Really not sure I like the idea of allowing applications to overwrite > preference data for other applications, even for upgrade purposes. > Looking at git blame, I'm the one that originally committed the code, > but it looks like that was just because I merged several upgrade > tasks objects, not because I reviewed the code myself. > > Looks like Michael R. did the original upgrade task (see git commit > 0d7c106e48d0bea9b63eb0d892d1d0b8e16b933c). Guess I will open this up > for comments. My personal belief would be either to nix the Turba > 2.2 upgrade tasks completely, or at least purge the imp/kronolith > upgrade tasks. I have no problem requiring users to manually upgrade > these preferences in this unique situation.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers