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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038079
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2018-03-08 12:392018-03-12 11:07
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR18Q2
StatusclosedFix in branchFixed in SCM revision6d6a3a710fd2
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

0038079: row created in ad_session opening openbravo base url

DescriptionOpening Openbravo on its base url (openbravo context without any other url part) after login page has been served in same browser, creates a new row in ad_session table.
Steps To Reproduce1. Open login page
2. In the same browser open Openbravo base url (ie. http://localhost:8080/openbravo [^])
  -> ERROR: check a new entry in ad_session has been created in status F (Fail)
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038075 closedalostale row created in ad_session after Tomcat expires session 
depends on defect 0030031 closedalostale row created in ad_session for same cookie after every erp logout 
causes defect 0039885 closedcaristu The link to a concrete document of Openbravo is not followed if there is not session on the browser 

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

Repository: erp/devel/pi
Changeset: 6d6a3a710fd21bbc60de46c5778b212c64ec300c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 08 12:43:49 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6d6a3a710fd21bbc60de46c5778b212c64ec300c [^]

fixed bug 38079: row created in ad_session opening openbravo base url

  When serving index.jsp after having served login page in the same browser a
  new row in ad_session was created.

  Login page creates a new HttpSession without corresponding ad_session row,
  index.jsp detected this session and invoked AutenticationManager's authenticate
  method wihtout user/password creating in this flow that row. Authenticate is
  invoked for the case a valid session is already present.

  This case is now covered by ensuring in case there is a HttpSession it also
  has an ad_session before invoking authenticate. If HttpSession is present but
  there is no ad_session, the flow stops.

---
M src/index.jsp
---
(0103106)
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
(0103149)
caristu (developer)
2018-03-12 11:07

Code reviewed + tested OK.

- Issue History
Date Modified Username Field Change
2018-03-08 12:39 alostale New Issue
2018-03-08 12:39 alostale Assigned To => platform
2018-03-08 12:39 alostale Modules => Core
2018-03-08 12:39 alostale Triggers an Emergency Pack => No
2018-03-08 12:39 alostale Relationship added related to 0038075
2018-03-08 12:39 alostale Relationship added depends on 0030031
2018-03-08 12:44 alostale Tag Attached: Performance
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: 0103099
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/6d6a3a710fd21bbc60de46c5778b212c64ec300c [^]
2018-03-09 04:28 hudsonbot Checkin
2018-03-09 04:28 hudsonbot Note Added: 0103106
2018-03-12 11:07 caristu Note Added: 0103149
2018-03-12 11:07 caristu Status resolved => closed
2018-03-12 11:07 caristu Fixed in Version => 3.0PR18Q2
2019-01-09 17:53 caristu Relationship added causes 0039885


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker