6.0.0-alpha12
6/7/25

[#14049] Unable to set set sent mail folder to shared folder
Summary Unable to set set sent mail folder to shared folder
Queue IMP
Queue Version 6.2.9
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester andreas.rieger (at) zew (dot) uni-hannover (dot) de
Created 07/09/2015 (3621 days ago)
Due
Updated 07/10/2015 (3620 days ago)
Assigned
Resolved 07/10/2015 (3620 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/10/2015 10:48:29 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
07/10/2015 10:48:27 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 0e2d58384de6e46fc8b3aa615e0739be6696cc7d
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Jul 10 16:47:31 2015 -0600

     Bug #14049: Ensure mailbox name is a valid string

  imp/lib/Mailbox.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/0e2d58384de6e46fc8b3aa615e0739be6696cc7d
07/10/2015 10:47:42 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit c3c8ea25729cb51eae9c12040d6b723e55d72d12
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Jul 10 16:47:31 2015 -0600

     Bug #14049: Ensure mailbox name is a valid string

  imp/lib/Mailbox.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/c3c8ea25729cb51eae9c12040d6b723e55d72d12
07/09/2015 06:57:13 PM andreas (dot) rieger (at) zew (dot) uni-hannover (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Unable to set set sent mail folder to shared folder
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
After the latest upgrade (Horde 5.2.6/Imp-6.2.9) we noticed that it's 
no longer possible to set the sent folder in the identy screen of a 
user to a shared folder ('other users/...').
Changing and setting the folder for sent mails to folders of the 
current user works as expected.

This is the corresponding error from our log:

NOTICE: HORDE [imp] PHP ERROR: Undefined variable: ret [pid 5477 on 
line 1451 of "/var/www/horde/imp/lib/Mailbox.php"]

Taking a closer look at the Mailbox.php i noticed that the $ret var is 
set in a if statement and I am not sure if either the if or else 
condition must be met in any case or if it's maybe a configuration 
issue on our site.

However i noticed this changeset 
https://github.com/horde/horde/commit/f5b7ef23bd2050ab4e58d3d72440a3cc27f452d5

If i readd $ret = strval($mbox); wich was deleted in this commit, 
things start working again.

Saved Queries