[Tickets #3298] NEW: Wrong backend loaded after selection on login.php

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Jan 18 14:04:33 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3298
-----------------------------------------------------------------------
 Ticket             | 3298
 Created By         | jpolansky at lsit.ucsb.edu
 Summary            | Wrong backend loaded after selection on login.php
 Queue              | Gollem
 Version            | 1.0.1
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
+New Attachment     | gollem-h3-1.0.1-change_backend_fix.patch
-----------------------------------------------------------------------


jpolansky at lsit.ucsb.edu (2006-01-18 14:04) wrote:

We are having problems with gollem displaying/loading the wrong backend when
changing backends via the dropdown on login.php.  Our environment consists
of 3 hordeauthed/autologin backends all using FTP.

The problem seems to be that when a previously logged into backend is
selected from the login screen dropdown(calling the gollem_reload js
function) the variable "change_backend" is not defined.  This causes the
backend to not be switched, even though
$_SESSION['gollem']['backends'][$backend_key] exists (because the backend
was previously logged into).  We have handled this by removing the
conditional check for "change_backend" in login.php:68.  From what we can
tell, you always want to change the backend at this point in the code, as
otherwise the user is returned to the file manager with the backend they
were last using.

The patch I have attached removes the conditional check on "change_backend"
in login.php.  This seems to resolve our issue.

I'd appreciate any comments about how to better deal with this issue or if
others have experienced it as well.

--Jonathan




More information about the bugs mailing list