Share June 2006: Project of the Month

Sahana disaster management system

Tracker: Bugs

5 login redirect bug - ID: 2750574
Last Update: Comment added ( gmiernicki )

There is a bug (somewhere) in Sahana such that a user is improperly being
redirected after logging in. Example: the user comes to the Sahana site,
and then navigates through the site, either to the mpr module, situational
awareness, press and news (which module is irrelevant), and then attempts
to login. Upon successfully logging in, the user should be redirected back
to the page they were previously on, but Sahana is attempting to redirect
the user somewhere else instead.

Upon debugging with firephp, it can be seen that the following variables in
/inc/lib_session/handler_session.inc:

$global["module"]=$_SESSION["last_module"];
$global["action"]=$_SESSION["last_action"];

have the incorrect values of:

last_module = xst
last_action = help

Where the values should be something else, like mpr and default.

It is believed that this is caused by the streaming module being called
sometime when the page is rendered and it ends up being the last module
accessed.


-Greg


Greg Miernicki ( gmiernicki ) - 2009-04-10 16:07

5

Closed

None

Nobody/Anonymous

Other

CVS trunk

Public


Comment ( 1 )

Date: 2009-06-22 22:17
Sender: gmiernicki

Fixed in CVS trunk (self patch)


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2009-06-22 22:17 gmiernicki
allow_comments 1 2009-06-22 22:17 gmiernicki
close_date - 2009-06-22 22:17 gmiernicki