Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017543Openbravo ERPA. Platformpublic2011-06-07 14:342011-08-01 14:19
mtaal 
adrianromero 
normalmajorhave not tried
closedfixed 
5
 
3.0MP23.0MP2 
Core
No
0017543: On session time out strange parameters are added to the url, page can not be refreshed after that
When the session times out and the users logs in again, strange parameters are added to the url:

IsAjaxCall=1&ignoreForSessionTimeout=1&_action=org.openbravo.client.application.AlertActionHandler

Probably the session time out is detected on an alert ping, the url is somehow stored, see this code:

src-core/src/org/openbravo/base/VariablesBase.java
src/org/openbravo/erpCommon/security/Menu.java

Maybe the session timeout code should not store urls based on ajaxcalls.
No tags attached.
Issue History
2011-06-07 14:34mtaalNew Issue
2011-06-07 14:34mtaalAssigned To => marvintm
2011-06-07 14:34mtaalModules => Core
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-07-13 13:29iperdomoStatusnew => scheduled
2011-07-13 13:29iperdomoAssigned Tomarvintm => adrianromero
2011-07-13 13:29iperdomofix_in_branch => pi
2011-07-15 15:31hgbotCheckin
2011-07-15 15:31hgbotNote Added: 0039094
2011-07-15 15:31hgbotStatusscheduled => resolved
2011-07-15 15:31hgbotResolutionopen => fixed
2011-07-15 15:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/de42e672ad86f7992ab135ee690439ab0b314742 [^]
2011-07-17 21:16mtaalNote Added: 0039112
2011-07-17 21:16mtaalStatusresolved => closed
2011-07-17 21:16mtaalFixed in Version => 3.0MP2
2011-08-01 14:19hudsonbotCheckin
2011-08-01 14:19hudsonbotNote Added: 0039605

Notes
(0039094)
hgbot   
2011-07-15 15:31   
Repository: erp/devel/pi
Changeset: de42e672ad86f7992ab135ee690439ab0b314742
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jul 15 15:30:15 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/de42e672ad86f7992ab135ee690439ab0b314742 [^]

Fixes issue 0017543: On session time out strange parameters are added to the url, page can not be refreshed after that
It has been modified the class DefaultAuthenticationManager to not to save the target and targetQueryString if it is an Ajax call

---
M src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
---
(0039112)
mtaal   
2011-07-17 21:16   
Tested and reviewed
(0039605)
hudsonbot   
2011-08-01 14:19   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test