Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038075
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2018-03-08 09:392018-03-12 11:27
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version3.0PR18Q2
StatusclosedFix in branchFixed in SCM revisioncbec1a26a9f4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038075: row created in ad_session after Tomcat expires session

DescriptionHaving browser's tab open after Tomcat expires session, Openbravo automatically shows login page. When this occurs a new row is wrongly created in ad_session table.
Steps To Reproduce1. Log in Openbravo
2. Keep browser open for 1hr (or whatever timeout you configured in Tomcat)
   -> OK: login page is shown
      FAIL: check ad_session: there is a new row in with status F (Failed) and no username
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030031 closedalostale row created in ad_session for same cookie after every erp logout 
related to defect 0038079 closedalostale row created in ad_session opening openbravo base url 

-  Notes
(0103100)
hgbot (developer)
2018-03-08 17:02

Repository: erp/devel/pi
Changeset: cbec1a26a9f46301eba0c61de45d88e2dd996fe1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 08 16:59:52 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cbec1a26a9f46301eba0c61de45d88e2dd996fe1 [^]

fixed bug 38075: row created in ad_session after Tomcat expires session

  AuthenticationManger created a new ad_session row when trying to authenticate
  on an already invalidated session, which occurs on Tomcat session expiration.

  To prevent this, now ad_session records won't be created for empty username which
  is triggered by this case.

---
M src/org/openbravo/authentication/AuthenticationManager.java
---
(0103107)
hudsonbot (developer)
2018-03-09 04:28

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/0d8dac9d2802 [^]
Maturity status: Test
(0103150)
caristu (developer)
2018-03-12 11:27

Code reviewed + tested OK.

- Issue History
Date Modified Username Field Change
2018-03-08 09:39 alostale New Issue
2018-03-08 09:39 alostale Assigned To => platform
2018-03-08 09:39 alostale Modules => Core
2018-03-08 09:39 alostale Triggers an Emergency Pack => No
2018-03-08 09:39 alostale Relationship added related to 0030031
2018-03-08 09:40 alostale Tag Attached: Performance
2018-03-08 12:39 alostale Relationship added related to 0038079
2018-03-08 17:00 alostale Assigned To platform => alostale
2018-03-08 17:00 alostale Review Assigned To => caristu
2018-03-08 17:02 hgbot Checkin
2018-03-08 17:02 hgbot Note Added: 0103100
2018-03-08 17:02 hgbot Status new => resolved
2018-03-08 17:02 hgbot Resolution open => fixed
2018-03-08 17:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cbec1a26a9f46301eba0c61de45d88e2dd996fe1 [^]
2018-03-09 04:28 hudsonbot Checkin
2018-03-09 04:28 hudsonbot Note Added: 0103107
2018-03-12 11:27 caristu Note Added: 0103150
2018-03-12 11:27 caristu Status resolved => closed
2018-03-12 11:27 caristu Fixed in Version => 3.0PR18Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker