Summary | options error - wrong selected item name (app=imp&group=server) |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | horde (at) smartsector (dot) hu |
Created | 03/05/2009 (5968 days ago) |
Due | |
Updated | 01/13/2010 (5654 days ago) |
Assigned | 03/09/2009 (5964 days ago) |
Resolved | 03/10/2009 (5963 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Bug #8050: Fix folder list generation.http://git.horde.org/diff.php/imp/lib/IMP.php?rt=horde-git&r1=9d0edb17f1a39281dcf6cbf41269cba1ee3f8adb&r2=9e4918979a47cc3d3b7aa2149829f6916498f229
http://git.horde.org/diff.php/imp/templates/prefs/draftsselect.inc?rt=horde-git&r1=cdcd54b75d1cc39363b6db83c34866782562391a&r2=9e4918979a47cc3d3b7aa2149829f6916498f229
http://git.horde.org/diff.php/imp/templates/prefs/spamselect.inc?rt=horde-git&r1=31f26e5c00e75f33830062fbc65f4db497524453&r2=9e4918979a47cc3d3b7aa2149829f6916498f229
http://git.horde.org/diff.php/imp/templates/prefs/trashselect.inc?rt=horde-git&r1=d069758aa919a94a643c9767247ffc5ed3901182&r2=9e4918979a47cc3d3b7aa2149829f6916498f229
Bug #8050: Fix drafts selectionhttp://git.horde.org/diff.php/imp/lib/prefs.php?rt=horde-git&r1=b50b38c1449905a0455120a86d954990612406d9&r2=cdcd54b75d1cc39363b6db83c34866782562391a
http://git.horde.org/diff.php/imp/templates/prefs/draftsselect.inc?rt=horde-git&r1=92463e5dc7bf8a632855ff5f9a045e527dcee786&r2=cdcd54b75d1cc39363b6db83c34866782562391a
State ⇒ Resolved
errors. The errors have been fixed.
Options / Deleting and Moving Messages / Trash folder: select.
It's not visable in first view becaseu it's in a <select> tag so
browser do not render it out.
<select id="drafts" name="drafts" onchange="newDraftsFolderName();">
<option value="%nofolder">None</option>
<br />
<b>Warning</b>: Missing argument 2 for IMP::folderPref(), called in
/usr/share/horde/imp/templates/prefs/draftsselect.inc on line 24 and
defined in <b>/usr/share/horde/imp/lib/IMP.php</b> on line
<b>977</b><br />
<br />
<b>Notice</b>: Undefined variable: append in
<b>/usr/share/horde/imp/lib/IMP.php</b> on line <b>982</b><br />
<br />
<b>Notice</b>: Undefined variable: append in
<b>/usr/share/horde/imp/lib/IMP.php</b> on line <b>992</b><br />
<br />
<b>Notice</b>: Undefined variable: filter in
<b>/usr/share/horde/imp/lib/IMP.php</b> on line <b>253</b><br />
<br />
<b>Warning</b>: array_flip() [<a
href='function.array-flip'>function.array-flip</a>]: The argument
should be an array in <b>/usr/share/horde/imp/lib/IMP.php</b> on line
<b>253</b><br />
<option value="">Create a new drafts folder</option>
Nearly the same error in all 3 select box. I can copy all of them here
if neccessary for fix it.
Folder Information in options.
:(
on either Trash or Spam.
Folder Information in options.
:(
on either Trash or Spam.
State ⇒ Feedback
on either Trash or Spam.
Assigned to Michael Slusarz
State ⇒ Assigned
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ options error - wrong selected item name (app=imp&group=server)
Type ⇒ Bug
when i set up the folders it's work correctly(save it as well and
everything works fine), but when i come back all folder selects are on
"none".
i debug a little and find some error in the nameing:
imp/lib/IMP.php in line 259:
$sel = ($mbox['val'] && !empty($options['selected']) && ($mbox['val']
=== $options['selected'])) ? ' selected="selected"' : '';
this line do not set up the selected item becasue:
$mbox['val']=INBOX.trash
$options['selected']=trash