<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>save_sent_mail pref gets corrupted</title> 
  <pubDate>Fri, 10 Apr 2026 16:48:42 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10098</link> 
  <atom:link rel="self" type="application/rss+xml" title="save_sent_mail pref gets corrupted" href="https://bugs.horde.org/ticket/10098/rss" /> 
  <description>save_sent_mail pref gets corrupted</description> 
 
   
   
  <item> 
   <title>This is happening for a while now (a few weeks), save_sent_m</title> 
   <description>This is happening for a while now (a few weeks), save_sent_mail pref gets corrupted at some stage. 

$conf[&#039;user&#039;][&#039;select_sentmail_folder&#039;] = true;
$conf[&#039;server&#039;][&#039;fixed_folders&#039;] = array(&#039;Drafts&#039;, &#039;Trash&#039;, &#039;Sent&#039;);
$_prefs[&#039;save_sent_mail&#039;][&#039;value&#039;] = 1
$_prefs[&#039;sent_mail_folder&#039;][&#039;value&#039;] =&gt; Horde_String::convertCharset(&#039;Sent&#039;, &#039;UTF-8&#039;, &#039;UTF7-IMAP&#039;)

Using dynamic mode, courier-imap, I log in (using english language or french) and do some compose/reply/drag&amp;drop/delete messages. And after a while, could be 10 minutes or 1 hour, I get the following notice
&#039;The folder &quot;Sent&quot; was successfully created&#039; !

And a weird inaccessible folder is created : &quot;Array\n&quot;

attached is horde.log

I haven&#039;t found a way to reproduce this so I&#039;m open to any idea on how to track down this issue.
</description> 
   <pubDate>Wed, 18 May 2011 13:39:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64783</link> 
  </item> 
   
  <item> 
   <title>attached is the imaplog.txt </title> 
   <description>attached is the imaplog.txt </description> 
   <pubDate>Wed, 18 May 2011 13:39:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64784</link> 
  </item> 
   
  <item> 
   <title>
$_prefs[&#039;id&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;id&#039;][&#039;locked&#039;] = tr</title> 
   <description>
$_prefs[&#039;id&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;id&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;id&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;fullname&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;fullname&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;fullname&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;from_addr&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;from_addr&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;from_addr&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;default_identity&#039;][&#039;locked&#039;] = true;</description> 
   <pubDate>Wed, 18 May 2011 13:41:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64785</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #10098: </title> 
   <description>Changes have been made in Git for this ticket:

Bug #10098: Fixes to sent mail preferences UI

 3 files changed, 16 insertions(+), 11 deletions(-)
http://git.horde.org/horde-git/-/commit/9c898563d83be57c0ccff767c6e7fc4c3a9bfc1d</description> 
   <pubDate>Thu, 19 May 2011 16:45:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64846</link> 
  </item> 
   
  <item> 
   <title>I have no idea, and there doesn&#039;t seem to be any place where</title> 
   <description>I have no idea, and there doesn&#039;t seem to be any place where this could realistically happen.  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.</description> 
   <pubDate>Thu, 19 May 2011 16:46:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64847</link> 
  </item> 
   
  <item> 
   <title>&gt; I have no idea, and there doesn&#039;t seem to be any place whe</title> 
   <description>&gt; I have no idea, and there doesn&#039;t seem to be any place where this 
&gt; could realistically happen.  
:-)

In function /imp/lib/Prefs/Identity.php: function getValue
I&#039;ve added the following code just before the return call :
if ($key == &#039;sent_mail_folder&#039;) {Horde::debug($val);}

And this is what I get :
2011-05-20T09:12:10+02:00 DEBUG: Variable information:
object(IMP_Mailbox)#213 (3) {
  [&quot;cache&quot;]=&gt;
  array(2) {
    [&quot;n&quot;]=&gt;
    array(3) {
      [0]=&gt;
      string(1) &quot;.&quot;
      [2]=&gt;
      string(6) &quot;INBOX.&quot;
      [4]=&gt;
      int(1)
    }
    [&quot;d&quot;]=&gt;
    string(7) &quot;Envoyé&quot;
  }
  [&quot;changed&quot;]=&gt;
  int(0)
  [&quot;_mbox&quot;:protected]=&gt;
  string(10) &quot;INBOX.Sent&quot;
}

Backtrace:
1. IMP_Views_Compose::showCompose() /var/www/html/hordetest/imp/compose-dimp.php:247
2. Imp_Prefs_Identity-&gt;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)


&gt; However, there was some problems with 
&gt; the sent mail prefs UI that may have caused bad data to be stored in 
&gt; the save_sent_mail preference - try resaving the correct values 
&gt; through the UI again.

I didn&#039;t use the UI to set pref, and pref save_sent_mail wasn&#039;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&gt; delete from horde_prefs;) and will test again...

</description> 
   <pubDate>Fri, 20 May 2011 07:30:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64888</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I have no idea, and there doesn&#039;t seem to be any place wh</title> 
   <description>&gt;&gt; I have no idea, and there doesn&#039;t seem to be any place where this
&gt;&gt; could realistically happen.
&gt; :-)
this was supposed to be a :-(

</description> 
   <pubDate>Fri, 20 May 2011 07:31:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64889</link> 
  </item> 
   
  <item> 
   <title>&gt; it seams that $val is an object, not a string. So the strl</title> 
   <description>&gt; it seams that $val is an object, not a string. So the strlen call 
&gt; should fail in the return, no ?

No, it will cast the object to a string.</description> 
   <pubDate>Fri, 20 May 2011 07:48:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64891</link> 
  </item> 
   
  <item> 
   <title>
this doesn&#039;t happen when backend.local.php:$servers[&#039;imap&#039;</title> 
   <description>
this doesn&#039;t happen when backend.local.php:$servers[&#039;imap&#039;][&#039;cache&#039;] =&gt; false.

it looks like the cache gets corrupt at some stage. can it be related to some TTL ?

attached is the logs when the problem occurs and then hitting &quot;rebuild folder list&quot;.

I don&#039;t have cache enabled :
$conf[&#039;session&#039;][&#039;cache_limiter&#039;] = &#039;nocache&#039;;
$conf[&#039;group&#039;][&#039;cache&#039;] = false;
$conf[&#039;share&#039;][&#039;cache&#039;] = false;
$conf[&#039;cache&#039;][&#039;driver&#039;] = &#039;Null&#039;;
$conf[&#039;cache&#039;][&#039;use_memorycache&#039;] = &#039;&#039;;
$conf[&#039;cachecss&#039;] = false;
$conf[&#039;cachejs&#039;] = false;
$conf[&#039;cachethemes&#039;] = false;
$conf[&#039;sessionhandler&#039;][&#039;memcache&#039;] = false;
$conf[&#039;memcache&#039;][&#039;enabled&#039;] = false;


</description> 
   <pubDate>Fri, 20 May 2011 10:12:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t64901</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #10098: </title> 
   <description>Changes have been made in Git for this ticket:

Bug #10098: Make sure output from prefTo is always a string

 1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/9bd6f6d7710e9fbbb1b5194449b9498e8a312cf3</description> 
   <pubDate>Thu, 26 May 2011 21:42:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t65139</link> 
  </item> 
   
  <item> 
   <title>Maybe this fixes things?</title> 
   <description>Maybe this fixes things?</description> 
   <pubDate>Thu, 26 May 2011 21:42:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t65140</link> 
  </item> 
   
  <item> 
   <title>&gt; Maybe this fixes things?
Nope :-(

I have tried to set </title> 
   <description>&gt; Maybe this fixes things?
Nope :-(

I have tried to set different values to $servers[&#039;imap&#039;][&#039;cache&#039;][&#039;lifetime&#039;] and noticed that I get different results. 

I need to test further before posting what works and what doesn&#039;t.</description> 
   <pubDate>Fri, 27 May 2011 08:51:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t65168</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Maybe this fixes things?
&gt; Nope :-(
&gt;
&gt; I have tried t</title> 
   <description>&gt;&gt; Maybe this fixes things?
&gt; Nope :-(
&gt;
&gt; I have tried to set different values to 
&gt; $servers[&#039;imap&#039;][&#039;cache&#039;][&#039;lifetime&#039;] and noticed that I get 
&gt; different results.

whatever value $servers[&#039;imap&#039;][&#039;cache&#039;][&#039;lifetime&#039;], I always end up having the same issue.

I&#039;ve updated from git this morning, logged in (dynamic mode) and clicked on New message. 
The folder &quot;Array\n&quot; is created on the IMAP server (courier-imap 4.8.1) and new sent emails will not be saved in the Sent folder. See attached logs file.

I&#039;ve attached my IMP/horde config files. May be one of you will see something wrong.

I tried to find out why I get randomly the following error, but I didn&#039;t get anywhere :
2011-07-27T11:37:38+02:00 WARN: HORDE [imp] PHP ERROR: strlen() expects parameter 1 to be string, array given [pid 23914 on line 520 of &quot;/var/www/html/hordetest/imp/lib/Prefs/Identity.php&quot;]

Any hint ?

</description> 
   <pubDate>Wed, 27 Jul 2011 13:30:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t66608</link> 
  </item> 
   
  <item> 
   <title>Just notice that I get an error in apache&#039;s log file as well</title> 
   <description>Just notice that I get an error in apache&#039;s log file as well :

[Wed Jul 27 11:38:09 2011] [error] [client 192.168.1.73] PHP Fatal error:  Uncaught exception &#039;Horde_Imap_Client_Exception&#039; with message &#039;IMAP read error or IMAP connection timed out.&#039; in /var/www/html/hordetest/libs/Horde/Imap/Client/Base.php:219\nStack trace:\n#0 /var/www/html/hordetest/libs/Horde/Imap/Client/Socket.php(3949): Horde_Imap_Client_Base-&gt;_exception(&#039;IMAP read error...&#039;, &#039;SERVER_READERRO...&#039;)\n#1 /var/www/html/hordetest/libs/Horde/Imap/Client/Socket.php(3783): Horde_Imap_Client_Socket-&gt;_readData()\n#2 /var/www/html/hordetest/libs/Horde/Imap/Client/Socket.php(4058): Horde_Imap_Client_Socket-&gt;_getLine()\n#3 /var/www/html/hordetest/libs/Horde/Imap/Client/Socket.php(3709): Horde_Imap_Client_Socket-&gt;_parseResponse(8, true)\n#4 /var/www/html/hordetest/libs/Horde/Imap/Client/Socket.php(627): Horde_Imap_Client_Socket-&gt;_sendLine(&#039;LOGOUT&#039;, Array)\n#5 /var/www/html/hordetest/libs/Horde/Imap/Client/Base.php(642): Horde_Imap_Client_Socket-&gt;_logout()\n#6 /var/www/html/hordetest/libs/Horde/Imap/Client/Base.php(249): Horde_Imap_Client_Base-&gt;logout()\n#7 [internal function]: Horde_Imap_Client_B in /var/www/html/hordetest/libs/Horde/Imap/Client/Base.php on line 219, referer: http://192.168.1.22/hordetest/imp/
</description> 
   <pubDate>Wed, 27 Jul 2011 13:43:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t66610</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Maybe this fixes things?
&gt;&gt; Nope :-(
&gt;&gt;
&gt;&gt; I have tri</title> 
   <description>&gt;&gt;&gt; Maybe this fixes things?
&gt;&gt; Nope :-(
&gt;&gt;
&gt;&gt; I have tried to set different values to
&gt;&gt; $servers[&#039;imap&#039;][&#039;cache&#039;][&#039;lifetime&#039;] and noticed that I get
&gt;&gt; different results.
&gt;
&gt; whatever value $servers[&#039;imap&#039;][&#039;cache&#039;][&#039;lifetime&#039;], I always end up 
&gt; having the same issue.
&gt;
&gt; I&#039;ve updated from git this morning, logged in (dynamic mode) and 
&gt; clicked on New message.
&gt; The folder &quot;Array\n&quot; is created on the IMAP server (courier-imap 
&gt; 4.8.1) and new sent emails will not be saved in the Sent folder. See 
&gt; attached logs file.
&gt;
&gt; I&#039;ve attached my IMP/horde config files. May be one of you will see 
&gt; something wrong.
&gt;
&gt; I tried to find out why I get randomly the following error, but I 
&gt; didn&#039;t get anywhere :
&gt; 2011-07-27T11:37:38+02:00 WARN: HORDE [imp] PHP ERROR: strlen() 
&gt; expects parameter 1 to be string, array given [pid 23914 on line 520 
&gt; of &quot;/var/www/html/hordetest/imp/lib/Prefs/Identity.php&quot;]
&gt;
&gt; Any hint ?

Try deleting all &#039;identities&#039; prefs in your preferences backend.  Looks like you have bad data in there.</description> 
   <pubDate>Wed, 27 Jul 2011 18:54:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t66618</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #10098: </title> 
   <description>Changes have been made in Git for this ticket:

Bug #10098: Sanity checking on saved identity data

 1 files changed, 10 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/0a899c2e98de7225fa6d1ce7a22b296ed2a771e6</description> 
   <pubDate>Wed, 27 Jul 2011 19:00:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t66619</link> 
  </item> 
   
  <item> 
   <title>Maybe this commit will help - it will do sanity checking on </title> 
   <description>Maybe this commit will help - it will do sanity checking on saved identities data.  Still think your identities data is corrupt though.</description> 
   <pubDate>Wed, 27 Jul 2011 19:00:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t66620</link> 
  </item> 
   
  <item> 
   <title>&gt; Maybe this commit will help - it will do sanity checking o</title> 
   <description>&gt; Maybe this commit will help - it will do sanity checking on saved 
&gt; identities data.  

no, this is worth. I don&#039;t get any Sent folder now. 
here is what I get in the logs after clicking on &#039;new message&#039;
Horde::logMessage(print_r($val, true));


2011-07-28T09:03:15+02:00 INFO: HORDE [imp] IMP_Mailbox Object
(
    [cache] =&gt; Array
        (
            [n] =&gt; Array
                (
                    [0] =&gt; .
                    [2] =&gt; INBOX.
                    [4] =&gt; 1
                )

            [d] =&gt; Sent
        )

    [changed] =&gt; 0
    [_mbox:protected] =&gt; INBOX.Sent
)
 [pid 24793 on line 523 of &quot;/var/www/html/hordetest/imp/lib/Prefs/Identity.php&quot;]


the test is_string($val) returns false


&gt; Still think your identities data is corrupt though.
I already cleared prefs :
mysql&gt; delete from horde_prefs;

and identities are locked and prefs are set using hooks (see settings in logs.tgz). May be this is why I&#039;m having this random issue.



</description> 
   <pubDate>Thu, 28 Jul 2011 07:31:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t66634</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Maybe this commit will help - it will do sanity checking </title> 
   <description>&gt;&gt; Maybe this commit will help - it will do sanity checking on saved
&gt;&gt; identities data.
&gt;
&gt; no, this is worth. I don&#039;t get any Sent folder now.

Now I am just convinced that your PHP is just badly broken.  As previously mentioned, there is only **ONE** place where we set the value of sent_mail_folder -&gt; in IMP_Prefs_Identity::setValue().  If we are saving the &#039;sent_mail_folder&#039; key, the value is ALWAYS passed through IMP_Mailbox::prefTo($val).  IMP_Mailbox::prefTo() ALWAYS returns a string:

        if (($ns = self::get($mbox)-&gt;namespace_info) !== null) {
             if ($ns[&#039;name&#039;] == $def_ns[&#039;name&#039;]) {
                 /* From personal namespace =&gt; strip namespace. */
                 return substr(strval($mbox), strlen($def_ns[&#039;name&#039;])); // STRING RETURN
             } elseif ($ns[&#039;name&#039;] == $empty_ns[&#039;name&#039;]) {
                 /* From empty namespace =&gt; prefix with delimiter. */
                 return $empty_ns[&#039;delimiter&#039;] . strval($mbox); // STRING RETURN
             }
         }

        return strval($mbox);  // STRING RETURN

You will have to figure out exactly why this isn&#039;t working on your system, or I am going to mark this bug bogus (because nobody else can reproduce).</description> 
   <pubDate>Wed, 17 Aug 2011 04:27:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67001</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Maybe this commit will help - it will do sanity checking</title> 
   <description>&gt;&gt;&gt; Maybe this commit will help - it will do sanity checking on saved
&gt;&gt;&gt; identities data.
&gt;&gt;
&gt;&gt; no, this is worth. I don&#039;t get any Sent folder now.
&gt;
&gt; Now I am just convinced that your PHP is just badly broken.  As 
&gt; previously mentioned, there is only **ONE** place where we set the 
&gt; value of sent_mail_folder -&gt; in IMP_Prefs_Identity::setValue().  If 
&gt; we are saving the &#039;sent_mail_folder&#039; key, the value is ALWAYS passed 
&gt; through IMP_Mailbox::prefTo($val).  IMP_Mailbox::prefTo() ALWAYS 
&gt; returns a string:
&gt;
&gt;         if (($ns = self::get($mbox)-&gt;namespace_info) !== null) {
&gt;              if ($ns[&#039;name&#039;] == $def_ns[&#039;name&#039;]) {
&gt;                  /* From personal namespace =&gt; strip namespace. */
&gt;                  return substr(strval($mbox), 
&gt; strlen($def_ns[&#039;name&#039;])); // STRING RETURN
&gt;              } elseif ($ns[&#039;name&#039;] == $empty_ns[&#039;name&#039;]) {
&gt;                  /* From empty namespace =&gt; prefix with delimiter. */
&gt;                  return $empty_ns[&#039;delimiter&#039;] . strval($mbox); // 
&gt; STRING RETURN
&gt;              }
&gt;          }
&gt;
&gt;         return strval($mbox);  // STRING RETURN
&gt;
&gt; You will have to figure out exactly why this isn&#039;t working on your 
&gt; system, or I am going to mark this bug bogus (because nobody else can 
&gt; reproduce).


I&#039;ve updated php to version 5.3.7 and git this morning. Now, if horde pref $_prefs[&#039;default_identity&#039;][&#039;locked&#039;] is set to false, all seamed to be working Ok.

if $_prefs[&#039;default_identity&#039;][&#039;locked&#039;] is set to true. I don&#039;t get a Sent folder.
I&#039;ve added some logging  in /imp/lib/Prefs/Identity.php
    public function getValue($key, $identity = null)
    {
        $val = parent::getValue($key, $identity);
        switch ($key) {
        case &#039;sent_mail_folder&#039;:
            if (is_string($val) === false) {horde::logMessage(&quot;7777777777777 &#039;$val&#039; &quot; . print_r($val,true));}
            return (is_string($val) &amp;&amp; strlen($val))
                ? IMP_Mailbox::get(IMP_Mailbox::prefFrom($val))
                : null;

...

here is the ouput :
2011-08-23T15:54:25+02:00 INFO: HORDE [imp] 7777777777777 &#039;INBOX.Sent&#039; IMP_Mailbox Object
(
    [cache] =&gt; Array
        (
        )

    [changed] =&gt; 0
    [_mbox:protected] =&gt; INBOX.Sent
)
2011-08-23T15:54:33+02:00 INFO: HORDE [imp] 7777777777777 &#039;INBOX.Sent&#039; IMP_Mailbox Object
(
    [cache] =&gt; Array
        (
            [n] =&gt; Array
                (
                    [0] =&gt; .
                    [2] =&gt; INBOX.
                    [4] =&gt; 1
                )

            [d] =&gt; Sent
        )

    [changed] =&gt; 0
    [_mbox:protected] =&gt; INBOX.Sent
)







</description> 
   <pubDate>Tue, 23 Aug 2011 14:08:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67079</link> 
  </item> 
   
  <item> 
   <title>with
$_prefs[&#039;default_identity&#039;][&#039;locked&#039;] = true;

and
</title> 
   <description>with
$_prefs[&#039;default_identity&#039;][&#039;locked&#039;] = true;

and

 --- Identity.php.org	2011-08-23 17:17:09.000000000 +0200
+++ Identity.php	2011-08-23 17:17:15.000000000 +0200
@@ -524,1 +524,1 @@
-                ? IMP_Mailbox::get(IMP_Mailbox::prefFrom($val))
+                ? strval(IMP_Mailbox::get(IMP_Mailbox::prefFrom($val)))


It works for me. I don&#039;t know if this can work with multiple identities.



</description> 
   <pubDate>Tue, 23 Aug 2011 15:29:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67080</link> 
  </item> 
   
  <item> 
   <title>&gt;  --- Identity.php.org	2011-08-23 17:17:09.000000000 +0200</title> 
   <description>&gt;  --- Identity.php.org	2011-08-23 17:17:09.000000000 +0200
&gt; +++ Identity.php	2011-08-23 17:17:15.000000000 +0200
&gt; @@ -524,1 +524,1 @@
&gt; -                ? IMP_Mailbox::get(IMP_Mailbox::prefFrom($val))
&gt; +                ? strval(IMP_Mailbox::get(IMP_Mailbox::prefFrom($val)))

Except that&#039;s not right.  sent_mail_folder should be an IMP_Mailbox object, not a string.  So casting to a string is wrong.</description> 
   <pubDate>Wed, 24 Aug 2011 04:52:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67089</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #10098: </title> 
   <description>Changes have been made in Git for this ticket:

Bug #10098: Fix identities when default_identity is locked

 1 files changed, 0 insertions(+), 10 deletions(-)
http://git.horde.org/horde-git/-/commit/73f2df2a6d06b2151b1c7e4e54b0b19c0e62cc39</description> 
   <pubDate>Wed, 24 Aug 2011 05:16:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67090</link> 
  </item> 
   
  <item> 
   <title>&gt; if $_prefs[&#039;default_identity&#039;][&#039;locked&#039;] is set to true. I</title> 
   <description>&gt; if $_prefs[&#039;default_identity&#039;][&#039;locked&#039;] is set to true. I don&#039;t get 
&gt; a Sent folder.

This was the key piece of information.  If default_identity was locked, we were taking the current value of the various identity properties and temporarily saving them to the prefs cache.  However, this saved information was written directly to the prefs backend, without first calling setValue(), so any necessary changes (like converting from object -&gt; string) were not done.

I don&#039;t see why we even need to save to the prefs cache.  We should just let subsequent calls to getValue() grab the default values from the preferences backend as needed.

So try this patch and see if it fixes things.</description> 
   <pubDate>Wed, 24 Aug 2011 05:21:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67091</link> 
  </item> 
   
  <item> 
   <title>&gt; So try this patch and see if it fixes things.

it looks </title> 
   <description>&gt; So try this patch and see if it fixes things.

it looks good so far. I will run  further tests for a day or two, to make sure I don&#039;t get the original behaviour any more.

thanks.</description> 
   <pubDate>Wed, 24 Aug 2011 08:06:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67099</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Log entry fo</title> 
   <description>Changes have been made in Git for this ticket:

Log entry for Bug #10098

 1 files changed, 5 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/2db30450d1f309df3ef29f95780c957dbe6af554</description> 
   <pubDate>Wed, 24 Aug 2011 16:13:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67108</link> 
  </item> 
   
  <item> 
   <title>Closing. Reopen if problems are seen.</title> 
   <description>Closing. Reopen if problems are seen.</description> 
   <pubDate>Wed, 24 Aug 2011 16:14:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10098#t67109</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
