Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007173Openbravo ERPZ. Otherspublic2009-01-27 22:162009-04-21 10:33
dbaz 
shuehner 
urgentmajoralways
closedfixed 
20Kubuntu 8.10
pi 
2.50beta 
Core
No
0007173: AJAX calls are not taken into account as "activity" into the application
AJAX calls are not taken into account as "activity" into the application

Due to the fix of this bug

https://issues.openbravo.com/view.php?id=4327 [^]

now no ajax call is managed as activity of a user.

The solution of the previous said bug should be only discard the alerts update of the session timing computing and not the whole total of ajax calls.

As the previous bug was resolved, now if there are AJAX processes which the user invokes to do something, they are not taken into account
Change the
https://issues.openbravo.com/view.php?id=4327 [^]
fix in order ignore just the alert updating in terms of timeout (and not all the AJAX calls)
No tags attached.
related to defect 0004327 closed alostale Session Timeout 
Issue History
2009-01-27 22:16dbazNew Issue
2009-01-27 22:16dbazAssigned To => gorka_gil
2009-01-27 22:16dbazsf_bug_id0 => 2541342
2009-01-27 22:16dbazRegression testing => No
2009-01-27 22:17dbazRelationship addedrelated to 0004327
2009-01-30 15:33rafarodaNote Added: 0012917
2009-01-30 15:33rafarodaStatusnew => feedback
2009-02-09 12:19dbazNote Added: 0013256
2009-02-09 12:20dbazStatusfeedback => scheduled
2009-02-09 12:20dbazfix_in_branch => trunk
2009-02-10 16:53gorka_gilAssigned Togorka_gil => shuehner
2009-02-18 18:02svnbotCheckin
2009-02-18 18:02svnbotNote Added: 0013684
2009-02-18 18:02svnbotStatusscheduled => resolved
2009-02-18 18:02svnbotResolutionopen => fixed
2009-02-18 18:02svnbotsvn_revision => 13325
2009-04-21 10:33psarobeStatusresolved => closed

Notes
(0012917)
rafaroda   
2009-01-30 15:33   
David,

Could you please provide some steps to reproduce this issue in some way?

Thank you.
(0013256)
dbaz   
2009-02-09 12:19   
For example:

Set in web.xml

<session-timeout>1</session-timeout>

The as System Administrator go to

General Setup || Application || Module Management || Module Management

Press "Scan for updates" each 5 seconds... Since it is an ajax call, due to the bug explained, it is not taken into account as a change, and the session expires in 60 seconds (and it shouldn't because you are doing "something")
(0013684)
svnbot   
2009-02-18 18:02   
Repository: openbravo
Revision: 13325
Author: huehner
Date: 2009-02-18 18:02:27 +0100 (Wed, 18 Feb 2009)

Fixed 7173
- add code to mark individual ajax-requests as to be ignored for the session timeout
- for now only ignore the checkAlert request for session timeout instead of all ajax requests

---
U trunk/src/org/openbravo/erpCommon/utility/VerticalMenu.html
U trunk/src-core/src/org/openbravo/utils/SessionExpirationFilter.java
U trunk/web/js/ajax.js
---

https://dev.openbravo.com/websvn/openbravo/?rev=13325&sc=1 [^]