Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047406Retail ModulesMobile Warehouse operationspublic2021-07-16 17:112021-08-04 17:48
lbressan 
rqueralta 
highmajoralways
closedno change required 
5
pi 
 
adrianromero
No
0047406: Open session issue
Open session windows on backoffice with system role, log in AWO session as a guest and close the browser, then the session keeps open.
Steps:

1- Open "Session" windows on backoffice as System Administrator.
2- Log in AWO Session as a guest and close the browser.
3- The session keeps open.

Here's a link with the steps in a video: https://www.youtube.com/watch?v=v6KX8kcbamc [^]
No tags attached.
png opensessions.png (134,901) 2021-08-04 14:53
https://issues.openbravo.com/file_download.php?file_id=16070&type=bug
png
Issue History
2021-07-16 17:11lbressanNew Issue
2021-07-16 17:11lbressanAssigned To => Retail
2021-07-16 17:11lbressanResolution time => 1627596000
2021-07-16 17:11lbressanTriggers an Emergency Pack => No
2021-07-16 17:15PracticsIssue Monitored: Practics
2021-07-16 17:16PracticsNote Added: 0130548
2021-07-26 22:34rqueraltaAssigned ToRetail => rqueralta
2021-07-26 22:34rqueraltaStatusnew => scheduled
2021-08-04 14:49adrianromeroNote Added: 0130975
2021-08-04 14:49adrianromeroStatusscheduled => feedback
2021-08-04 14:53adrianromeroFile Added: opensessions.png
2021-08-04 16:47PracticsNote Added: 0130976
2021-08-04 17:48adrianromeroReview Assigned To => adrianromero
2021-08-04 17:48adrianromeroStatusfeedback => closed
2021-08-04 17:48adrianromeroResolutionopen => no change required

Notes
(0130548)
Practics   
2021-07-16 17:16   
AƱadir que la sesiones de cliente (mobile) no se cierran con timeout con lo cual esas sesiones nunca llegan a cerrarse
(0130975)
adrianromero   
2021-08-04 14:49   
Looking at the video, when the browser is closed tapping on the close icon, the session will stay open until the configured timeout is reached. This is the expected behaviour.

About the timeout we are observing also it is working as expected in livebuilds. We cannot reproduce the behaviour of sessions open forever. Sessions are deleted as expected when the timeout is reached. In the image attached it can be observed that livebuilds do not have sessions older than one hour. Livebuilds sessions timeout is 60 minutes.

Note that configuring the session timeout requires not only configuring the timeout in the dictionary but also to recompile, regenerate web.xml and restart tomcat as explained in the documentation. http://wiki.openbravo.com/wiki/How_to_personalize_Openbravo#Session_Timeout [^]

Can you please verify and send to us the following to check the issue in your environment?

1.- The timeout configuration in AD Implementation Mapping and generated web.xml?
2.- An screenshot of the Sessions window with sessions older than the configured timeout?

Thanks
(0130976)
Practics   
2021-08-04 16:47   
I tried again and it works fine, maybe the web.xml was not generated correctly