Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041217Openbravo ERPA. Platformpublic2019-07-02 08:442019-08-22 14:44
alostale 
alostale 
normaltrivialrandom
closedfixed 
5
 
3.0PR19Q4 
caristu
Core
No
0041217: error logged while logging out.
When logging out/in an error message can randomly appear in openbravo.log. This can be caused in a request was already done in parallel to log out one (ie. alert ping).

 https://ci.openbravo.com/job/qa-pi-aprinreg2-pgsql/487/ [^]
This is a random issue, not easy to reproduce:
1. Log in and log out several times
  -> check openbravo.log:
2019-06-06 01:35:00,080 [http-2] ERROR org.openbravo.dal.core.ThreadHandler - setAttribute: Session [47E621225806CB813B70566A80B628FE] has already been invalida
No tags attached.
blocks design defect 0036162 acknowledged Triage Platform Base clean up openbravo.log 
Issue History
2019-07-02 08:44alostaleNew Issue
2019-07-02 08:44alostaleAssigned To => alostale
2019-07-02 08:44alostaleModules => Core
2019-07-02 08:44alostaleTriggers an Emergency Pack => No
2019-07-02 09:11hgbotCheckin
2019-07-02 09:11hgbotNote Added: 0113134
2019-07-02 09:11hgbotCheckin
2019-07-02 09:11hgbotNote Added: 0113135
2019-07-02 09:11hgbotStatusnew => resolved
2019-07-02 09:11hgbotResolutionopen => fixed
2019-07-02 09:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/45e82884424e5894414eb1da45fa93153d74388a [^]
2019-07-02 09:12alostaleReview Assigned To => caristu
2019-07-02 09:15alostaleRelationship addedblocks 0036162
2019-07-26 08:20caristuNote Added: 0113654
2019-07-26 08:20caristuStatusresolved => closed
2019-07-26 08:20caristuFixed in Version => 3.0PR19Q4
2019-08-22 14:44hudsonbotCheckin
2019-08-22 14:44hudsonbotNote Added: 0114130
2019-08-22 14:44hudsonbotCheckin
2019-08-22 14:44hudsonbotNote Added: 0114131

Notes
(0113134)
hgbot   
2019-07-02 09:11   
Repository: erp/devel/pi
Changeset: 9b557b1d5bf458390500ce8207c999028ef73f91
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 02 08:51:03 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9b557b1d5bf458390500ce8207c999028ef73f91 [^]

related to issue 41217: code cleanup
  - removes some clutter
  - adds JavaDoc

---
M src-core/src/org/openbravo/utils/SessionExpirationFilter.java
---
(0113135)
hgbot   
2019-07-02 09:11   
Repository: erp/devel/pi
Changeset: 45e82884424e5894414eb1da45fa93153d74388a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 02 08:57:38 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/45e82884424e5894414eb1da45fa93153d74388a [^]

fixed issue 41217: error logged while logging out

  An error was logged while SessionExpirationFilter tried to read/write attibutes
  from a session that was already invalidated.

  Now this case is taken into account and ignored.

---
M src-core/src/org/openbravo/utils/SessionExpirationFilter.java
---
(0113654)
caristu   
2019-07-26 08:20   
Reviewed
(0114130)
hudsonbot   
2019-08-22 14:44   
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/ad3efd3bd07c [^]
Maturity status: Test
(0114131)
hudsonbot   
2019-08-22 14:44   
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/ad3efd3bd07c [^]
Maturity status: Test