6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/30/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6395] Prefs singleton method does not check scope
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. . __..__ .___. [__ |\/|(__ [__) | [___| |.__)[__) |
Comment
> Apparently the Prefs class singleton method does not include the > scope of the Prefs instance into the signature of the instance. This > causes trouble at least with ingo/scripts/convert_imp_filters.php > which first causes a Prefs object of scope 'imp' to be created (in > order to load the 'filters' preference) and then, while wanting to > save the converted filters in scope 'ingo' fails - because > ingo_storage tries to get the singleton Prefs object and gets the one > of type 'imp' - which has no 'rules' nor 'blacklist' etc. > preferences. Attached patch adds scope to the signature of the > singleton Prefs object - convert_imp_filters.php works after this, > but does something else break?
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