Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038079Openbravo ERPA. Platformpublic2018-03-08 12:392018-03-12 11:07
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
3.0PR18Q2 
caristu
Core
No
0038079: row created in ad_session opening openbravo base url
Opening 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.
1. 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)
Performance
related to defect 0038075 closed alostale row created in ad_session after Tomcat expires session 
depends on defect 0030031 closed alostale row created in ad_session for same cookie after every erp logout 
causes defect 0039885 closed caristu The link to a concrete document of Openbravo is not followed if there is not session on the browser 
Issue History
2018-03-08 12:39alostaleNew Issue
2018-03-08 12:39alostaleAssigned To => platform
2018-03-08 12:39alostaleModules => Core
2018-03-08 12:39alostaleTriggers an Emergency Pack => No
2018-03-08 12:39alostaleRelationship addedrelated to 0038075
2018-03-08 12:39alostaleRelationship addeddepends on 0030031
2018-03-08 12:44alostaleTag Attached: Performance
2018-03-08 17:00alostaleAssigned Toplatform => alostale
2018-03-08 17:00alostaleReview Assigned To => caristu
2018-03-08 17:02hgbotCheckin
2018-03-08 17:02hgbotNote Added: 0103099
2018-03-08 17:02hgbotStatusnew => resolved
2018-03-08 17:02hgbotResolutionopen => fixed
2018-03-08 17:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6d6a3a710fd21bbc60de46c5778b212c64ec300c [^]
2018-03-09 04:28hudsonbotCheckin
2018-03-09 04:28hudsonbotNote Added: 0103106
2018-03-12 11:07caristuNote Added: 0103149
2018-03-12 11:07caristuStatusresolved => closed
2018-03-12 11:07caristuFixed in Version => 3.0PR18Q2
2019-01-09 17:53caristuRelationship addedcauses 0039885

Notes
(0103099)
hgbot   
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   
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   
2018-03-12 11:07   
Code reviewed + tested OK.