<?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>options error  - wrong selected item name (app=imp&amp;group=server)</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:38 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8050</link> 
  <atom:link rel="self" type="application/rss+xml" title="options error  - wrong selected item name (app=imp&amp;group=server)" href="https://bugs.horde.org/ticket/8050/rss" /> 
  <description>options error  - wrong selected item name (app=imp&amp;group=server)</description> 
 
   
   
  <item> 
   <title>i found something in the imp oprions.

when i set up the fol</title> 
   <description>i found something in the imp oprions.

when i set up the folders it&#039;s work correctly(save it as well and everything works fine), but when i come back all folder selects are on &quot;none&quot;.



i debug a little and find some error in the nameing:

imp/lib/IMP.php in line 259:

$sel = ($mbox[&#039;val&#039;] &amp;&amp; !empty($options[&#039;selected&#039;]) &amp;&amp; ($mbox[&#039;val&#039;] === $options[&#039;selected&#039;])) ? &#039; selected=&quot;selected&quot;&#039; : &#039;&#039;;



this line do not set up the selected item becasue:

$mbox[&#039;val&#039;]=INBOX.trash

$options[&#039;selected&#039;]=trash</description> 
   <pubDate>Thu, 05 Mar 2009 23:26:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t52900</link> 
  </item> 
   
  <item> 
   <title>Confirmed</title> 
   <description>Confirmed</description> 
   <pubDate>Sat, 07 Mar 2009 10:58:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t52929</link> 
  </item> 
   
  <item> 
   <title>Fixed selection of drafts folder.  I could not reproduce any</title> 
   <description>Fixed selection of drafts folder.  I could not reproduce any problems on either Trash or Spam.</description> 
   <pubDate>Mon, 09 Mar 2009 21:11:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t52980</link> 
  </item> 
   
  <item> 
   <title>still all select box on &quot;None&quot; as default when i choose Serv</title> 
   <description>still all select box on &quot;None&quot; as default when i choose Server and Folder Information in options.

:(

&gt; Fixed selection of drafts folder.  I could not reproduce any problems 

&gt; on either Trash or Spam.

</description> 
   <pubDate>Tue, 10 Mar 2009 18:02:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t53008</link> 
  </item> 
   
  <item> 
   <title>I find something in the rendered HTML source code.

It&#039;s not</title> 
   <description>I find something in the rendered HTML source code.

It&#039;s not visable in first view becaseu it&#039;s in a &lt;select&gt; tag so browser do not render it out.



&lt;select id=&quot;drafts&quot; name=&quot;drafts&quot; onchange=&quot;newDraftsFolderName();&quot;&gt;

 &lt;option value=&quot;%nofolder&quot;&gt;None&lt;/option&gt;

 &lt;br /&gt;

&lt;b&gt;Warning&lt;/b&gt;:  Missing argument 2 for IMP::folderPref(), called in /usr/share/horde/imp/templates/prefs/draftsselect.inc on line 24 and defined in &lt;b&gt;/usr/share/horde/imp/lib/IMP.php&lt;/b&gt; on line &lt;b&gt;977&lt;/b&gt;&lt;br /&gt;



&lt;br /&gt;

&lt;b&gt;Notice&lt;/b&gt;:  Undefined variable: append in &lt;b&gt;/usr/share/horde/imp/lib/IMP.php&lt;/b&gt; on line &lt;b&gt;982&lt;/b&gt;&lt;br /&gt;

&lt;br /&gt;

&lt;b&gt;Notice&lt;/b&gt;:  Undefined variable: append in &lt;b&gt;/usr/share/horde/imp/lib/IMP.php&lt;/b&gt; on line &lt;b&gt;992&lt;/b&gt;&lt;br /&gt;

&lt;br /&gt;



&lt;b&gt;Notice&lt;/b&gt;:  Undefined variable: filter in &lt;b&gt;/usr/share/horde/imp/lib/IMP.php&lt;/b&gt; on line &lt;b&gt;253&lt;/b&gt;&lt;br /&gt;

&lt;br /&gt;

&lt;b&gt;Warning&lt;/b&gt;:  array_flip() [&lt;a href=&#039;function.array-flip&#039;&gt;function.array-flip&lt;/a&gt;]: The argument should be an array in &lt;b&gt;/usr/share/horde/imp/lib/IMP.php&lt;/b&gt; on line &lt;b&gt;253&lt;/b&gt;&lt;br /&gt;



&lt;option value=&quot;&quot;&gt;Create a new drafts folder&lt;/option&gt;



Nearly the same error in all 3 select box. I can copy all of them here if neccessary for fix it.



&gt; still all select box on &quot;None&quot; as default when i choose Server and 

&gt; Folder Information in options.

&gt; :(

&gt;&gt; Fixed selection of drafts folder.  I could not reproduce any problems

&gt;&gt; on either Trash or Spam.

&gt;

</description> 
   <pubDate>Tue, 10 Mar 2009 18:09:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t53009</link> 
  </item> 
   
  <item> 
   <title>I find the same effect in :

Options / Deleting and Moving M</title> 
   <description>I find the same effect in :

Options / Deleting and Moving Messages / Trash folder: select.

</description> 
   <pubDate>Tue, 10 Mar 2009 18:15:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t53010</link> 
  </item> 
   
  <item> 
   <title>Weird - this didn&#039;t affect me at all even though I see the s</title> 
   <description>Weird - this didn&#039;t affect me at all even though I see the same errors.  The errors have been fixed.</description> 
   <pubDate>Tue, 10 Mar 2009 18:37:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t53013</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

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

Bug #8050: Fix drafts selection

http://git.horde.org/diff.php/imp/lib/prefs.php?rt=horde-git&amp;r1=b50b38c1449905a0455120a86d954990612406d9&amp;r2=cdcd54b75d1cc39363b6db83c34866782562391a
http://git.horde.org/diff.php/imp/templates/prefs/draftsselect.inc?rt=horde-git&amp;r1=92463e5dc7bf8a632855ff5f9a045e527dcee786&amp;r2=cdcd54b75d1cc39363b6db83c34866782562391a</description> 
   <pubDate>Wed, 13 Jan 2010 00:00:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t57526</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

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

Bug #8050: Fix folder list generation.

http://git.horde.org/diff.php/imp/lib/IMP.php?rt=horde-git&amp;r1=9d0edb17f1a39281dcf6cbf41269cba1ee3f8adb&amp;r2=9e4918979a47cc3d3b7aa2149829f6916498f229
http://git.horde.org/diff.php/imp/templates/prefs/draftsselect.inc?rt=horde-git&amp;r1=cdcd54b75d1cc39363b6db83c34866782562391a&amp;r2=9e4918979a47cc3d3b7aa2149829f6916498f229
http://git.horde.org/diff.php/imp/templates/prefs/spamselect.inc?rt=horde-git&amp;r1=31f26e5c00e75f33830062fbc65f4db497524453&amp;r2=9e4918979a47cc3d3b7aa2149829f6916498f229
http://git.horde.org/diff.php/imp/templates/prefs/trashselect.inc?rt=horde-git&amp;r1=d069758aa919a94a643c9767247ffc5ed3901182&amp;r2=9e4918979a47cc3d3b7aa2149829f6916498f229</description> 
   <pubDate>Wed, 13 Jan 2010 00:00:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8050#t57530</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
