Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0050252Openbravo ERPI. Performancepublic2022-09-14 21:042023-01-02 19:08
axelmercado 
AugustoMauch 
highmajoralways
newopen 
5
pi 
pi 
Core
No
0050252: Sessions remain open when the browser is closed.
When we close the browser either intentionally or accidentally, the session in which the terminal was open is not closed. When the browser and the terminal are opened again, it generates a new session.
1 - Login to the Web POS or Backoffice.
2 - Verify in as system, in the window Sessions, the ones that are open.
3 - Close the browser and open it again.
4 - Perform again step 1 and 2.
5 - Notice that the sessions have been duplicated since the previous one has remained open.
No tags attached.
Issue History
2022-09-14 21:04axelmercadoNew Issue
2022-09-14 21:04axelmercadoAssigned To => Triage Platform Base
2022-09-14 21:04axelmercadoModules => Core
2022-09-14 21:04axelmercadoTriggers an Emergency Pack => No
2022-10-03 00:12AugustoMauchNote Added: 0141542
2022-10-03 00:12AugustoMauchAssigned ToTriage Platform Base => axelmercado
2022-10-03 00:12AugustoMauchStatusnew => feedback
2022-10-06 01:16axelmercadoNote Added: 0141707
2022-10-06 01:17axelmercadoAssigned Toaxelmercado => AugustoMauch
2022-10-06 01:17axelmercadoStatusfeedback => new
2022-10-10 14:17AugustoMauchNote Added: 0141911
2022-10-10 14:17AugustoMauchStatusnew => feedback
2022-10-20 14:04AugustoMauchNote Added: 0142349
2023-01-02 11:10AugustoMauchAssigned ToAugustoMauch => axelmercado
2023-01-02 19:07axelmercadoNote Added: 0145126
2023-01-02 19:08axelmercadoAssigned Toaxelmercado => AugustoMauch
2023-01-02 19:08axelmercadoStatusfeedback => new

Notes
(0141542)
AugustoMauch   
2022-10-03 00:12   
Axel, I cannot reproduce the issue. If I have a current session and I close the browser and open it again, the same session is reused. Only when I log out a new session is created
(0141707)
axelmercado   
2022-10-06 01:16   
Augusto, I attach a video: https://www.awesomescreenshot.com/video/11534884?key=7ca4f66831c20f12cf35a638f651a6fc [^]

I have played it both in livebuilds and in my local.
(0141911)
AugustoMauch   
2022-10-10 14:17   
Hello Axel,

I was able to reproduce it thanks. The application behaves like that because the cookie were we store the JSESSION is of type session (thus it is destroyed when the browser is closed) instead of persisted (it would have an expiration date). This seems to us a design defect.

In order to understand the criticity of the issue we need to know why do you think it is a major issue (http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]). Could you tell us why you think the severify of this issue is major?
(0142349)
AugustoMauch   
2022-10-20 14:04   
Removing the SLA because the feedback question is not being answered. Feel Axel, feel free to update it once you can answer the question
(0145126)
axelmercado   
2023-01-02 19:07   
The partner had reported the problem as very important because it was causing problems for one of his customers. I asked him if he could give us the reason why the problem was being major and I had no response, so I proceeded to close the ticket. You can proceed to close this issue, sorry for the delay in response.