Summary | session variables lost when updating options |
Queue | Horde Framework Packages |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | Horde Developers (at) |
Requester | Graeme.Wood (at) ed (dot) ac (dot) uk |
Created | 07/17/2005 (7267 days ago) |
Due | |
Updated | 07/23/2005 (7261 days ago) |
Assigned | 07/17/2005 (7267 days ago) |
Resolved | 07/23/2005 (7261 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
it. The log message is vague on the overlying purpose.
MIMP prefs from the web interface.
I've un-merged the change for now, but have left it in HEAD; we should
revert it in HEAD also as soon as we can find a better way to handle
the case of MIMP, and other similar apps (for instance, do I really
need to log into IMP to edit my prefs? Aside from the case of folders,
no, but we can't break BC now, so...)
Assigned to
Taken from Michael Slusarz
State ⇒
The log message is vague on the overlying purpose.
If I understand it correctly, that change was put in to allow you to
change MIMP preferences without having to login again to MIMP.
initialization change was made. Something in Horde itself changed
between 3.0.4 and 3.0.5 that required us to add the line to IMP's
preference code.
My best guess is this change broke BC:
http://cvs.horde.org/diff.php/horde/services/prefs.php?r1=1.19.2.2&r2=1.19.2.3&ty=h
Assigned to Michael Slusarz
State ⇒ Feedback
you moved to lib/prefs.php? Maybe this was only necessary due to a
change in Horde, and worked fine with older Horde versions?
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ session variables lost when updating options
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
I am seeing a problem whenever I update Options in IMP. The issue
affects any preference module that accesses imp/lib/Folder.php. It
would appear that the session variables that hold things like
base_protocol, hierarchies, folders and stream are not being set.
This only affects IMP when running under Horde-3.0.5-RC2. IMP is fine
if running under Horde-3.0.4. Here are some sample error messages:
[Sun Jul 17 08:31:41 2005] [error] PHP Warning: imap_lsub(): supplied
argument
is not a valid imap resource in
/usr/local/www/public_docs/horde/imp/lib/Folder.
php on line 135
[Sun Jul 17 08:31:41 2005] [error] PHP Notice: Undefined index:
base_protocol
in /usr/local/www/public_docs/horde/imp/lib/Folder.php on line 171
[Sun Jul 17 08:31:41 2005] [error] PHP Notice: Undefined index:
stream in /usr
/local/www/public_docs/horde/imp/lib/Folder.php on line 268
[Sun Jul 17 08:31:41 2005] [error] PHP Notice: Undefined index:
folders in /us
r/local/www/public_docs/horde/imp/lib/Folder.php on line 268
[Sun Jul 17 08:31:41 2005] [error] PHP Notice: Undefined index:
hierarchies in
/usr/local/www/public_docs/horde/imp/lib/Folder.php on line 268
[Sun Jul 17 08:31:41 2005] [error] PHP Notice: Undefined index:
dotfiles in /u
sr/local/www/public_docs/horde/imp/lib/Folder.php on line 268
[Sun Jul 17 08:31:41 2005] [error] PHP Notice: Undefined index:
namespace in /
usr/local/www/public_docs/horde/imp/lib/Folder.php on line 268
I suspect the problem is more widespread than just an interaction with
IMP though.