6.0.0-alpha12
6/9/25

[#2283] session variables lost when updating options
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

History
07/23/2005 02:50:24 AM Chuck Hagenbuch Comment #7
State ⇒ Resolved
Reply to this comment
I'm resolving this ticket, and I've reopened the relevant MIMP ticket.
07/23/2005 02:47:55 AM Chuck Hagenbuch Comment #6 Reply to this comment
Look like Chuck made this change - maybe he remembers the need for
it.  The log message is vague on the overlying purpose.
I believe that Graeme is correct, and this was to allow editing of 
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...)
07/23/2005 01:08:49 AM Michael Slusarz Comment #5
Assigned to Horde DevelopersHorde Developers
Taken from Michael Slusarz
State ⇒
Reply to this comment
Look like Chuck made this change - maybe he remembers the need for it. 
  The log message is vague on the overlying purpose.
07/19/2005 06:48:22 AM Graeme (dot) Wood (at) ed (dot) ac (dot) uk Comment #4 Reply to this comment
That does seem to be the source of the problem.



If I understand it correctly, that change was put in to allow you to 
change MIMP preferences without having to login again to MIMP.
07/19/2005 05:05:46 AM Michael Slusarz Comment #3 Reply to this comment
No - since he is not using IMP 4.0.4-cvs - which is where my stream 
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
07/17/2005 08:52:12 AM Jan Schneider Comment #2
Assigned to Michael Slusarz
State ⇒ Feedback
Reply to this comment
Michael, has this anything to do with the stream initialization that 
you moved to lib/prefs.php? Maybe this was only necessary due to a 
change in Horde, and worked fine with older Horde versions?
07/17/2005 07:44:13 AM Graeme (dot) Wood (at) ed (dot) ac (dot) uk Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ session variables lost when updating options
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
I've been playing with Horde-3.0.5-RC2 using IMP-4.0.3 and PHP 4.4.0. 
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.

Saved Queries