6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6775] Creating a /new/ spam folder results in a setting without the correct namespace prefix
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. ..__. . |__||\/||\ |[__] | | || || \|| |\__|
Comment
> OK, what really appeared to be wrong was that when creating a new > folder for spam, then the spam->folder setting (and the created > script) ends up without the namespace prefix. What happened was that > the new folder was created using Ingo::createFolder()'s result, which > doesn't contain the namespace part in any case. This also explains > why, when I created a new folder and the script got activated OK and > the newly created folder ended up in the drop down menu of spam.php, > it wasn't selected in the menu: spam.php realoads the folder from the > server and gets, for instance, INBOX.newspamfolder, but the default > value of the menu ends up as newspamfolder... > > > > I fixed the problem locally by adding a line that calls > IMP::appendNamespace($result) into spam.php... I don't know whether > this is an optimal solution, maybe it'd be better to give the > mail/createFolder function a new parameter that tells whether to > return the result with or without the namespace prefix?
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