6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/7/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10098] save_sent_mail pref gets corrupted
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. ..__..__ \ / | ||\ |[__][__) >< |__\| \|| || \/ \
Comment
>> I have no idea, and there doesn't seem to be any place where this >> could realistically happen. > :-) > > In function /imp/lib/Prefs/Identity.php: function getValue > I've added the following code just before the return call : > if ($key == 'sent_mail_folder') {Horde::debug($val);} > > And this is what I get : > 2011-05-20T09:12:10+02:00 DEBUG: Variable information: > object(IMP_Mailbox)#213 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(3) { > [0]=> > string(1) "." > [2]=> > string(6) "INBOX." > [4]=> > int(1) > } > ["d"]=> > string(7) "Envoyé" > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(10) "INBOX.Sent" > } > > Backtrace: > 1. IMP_Views_Compose::showCompose() > /var/www/html/hordetest/imp/compose-dimp.php:247 > 2. Imp_Prefs_Identity->getValue() > /var/www/html/hordetest/imp/lib/Views/Compose.php:91 > 3. Horde::debug() /var/www/html/hordetest/imp/lib/Prefs/Identity.php:520 > > it seams that $val is an object, not a string. So the strlen call > should fail in the return, no ? > and IMP_Mailbox::get(IMP_Mailbox::prefFrom($val)) seams to be > returning an object(IMP_Mailbox) > > >> However, there was some problems with >> the sent mail prefs UI that may have caused bad data to be stored in >> the save_sent_mail preference - try resaving the correct values >> through the UI again. > > I didn't use the UI to set pref, and pref save_sent_mail wasn't set > in horde_prefs. I used the default value (whatever is set in > prefs.php). > > but just to make sure, I delete all prefs in DB (mysql> delete from > horde_prefs;) and will test again... > >
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