Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036271 | Openbravo ERP | A. Platform | public | 2017-06-19 10:51 | 2017-06-20 09:10 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | urgent | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR17Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036271: login page logs error if loaded while logging out | |||||||||||
Description | If while in process of log out, login page is loaded, an error message can be logged. This error occurs when trying to clean up a session that's already invalidated, even it's logged there is no real issue. This is causing int-initial-pgsql in CI to fail quite often, see [1]: failed builds 2037-2040. --- [1] https://ci.openbravo.com/job/int-initial-pgsql/ [^] | |||||||||||
Steps To Reproduce | 1. Log in application 2. Log out 3. While logging out stop thread in BaseKernelServlet.invalidateSession before session.invalidate() line (line 0000223:0000093) 4. Open Login window in the same browser 5. Stop login window thread in Login class before vars.clearSession (line ~118) 6. Resume logout thread 7. Resume login page thread -> In this thread you'll see: b3e0edee 2017-06-18 01:58:06,429 [ajp-bio-127.0.0.1-8009-exec-2] ERROR org.openbravo.base.VariablesBase - clearSession error java.lang.IllegalStateException: getAttributeNames: Session already invalidated at org.apache.catalina.session.StandardSession.getAttributeNames(StandardSession.java:1186) at org.apache.catalina.session.StandardSessionFacade.getAttributeNames(StandardSessionFacade.java:137) at org.openbravo.base.VariablesBase.clearSession(VariablesBase.java:1456) at org.openbravo.erpCommon.security.Login.doPost(Login.java:118) | |||||||||||
Proposed Solution | In this case, remove error from logs (simply ignore it). | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-06-19 10:51 | alostale | New Issue | ||||||||||
2017-06-19 10:51 | alostale | Assigned To | => platform | |||||||||
2017-06-19 10:51 | alostale | Modules | => Core | |||||||||
2017-06-19 10:51 | alostale | Triggers an Emergency Pack | => No | |||||||||
2017-06-19 10:51 | alostale | Assigned To | platform => alostale | |||||||||
2017-06-19 10:51 | alostale | Review Assigned To | => caristu | |||||||||
2017-06-19 10:51 | alostale | Priority | normal => urgent | |||||||||
2017-06-19 10:56 | hgbot | Checkin | ||||||||||
2017-06-19 10:56 | hgbot | Note Added: 0097473 | ||||||||||
2017-06-19 10:56 | hgbot | Status | new => resolved | |||||||||
2017-06-19 10:56 | hgbot | Resolution | open => fixed | |||||||||
2017-06-19 10:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/75e216b9efe2596f50c1dd1cf9f5ac6a16fa04c8 [^] | |||||||||
2017-06-19 10:58 | alostale | Relationship added | blocks 0036162 | |||||||||
2017-06-19 16:23 | hudsonbot | Checkin | ||||||||||
2017-06-19 16:23 | hudsonbot | Note Added: 0097481 | ||||||||||
2017-06-20 09:10 | caristu | Note Added: 0097499 | ||||||||||
2017-06-20 09:10 | caristu | Status | resolved => closed | |||||||||
2017-06-20 09:10 | caristu | Fixed in Version | => 3.0PR17Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|