Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021962Openbravo ERPA. Platformpublic2012-10-16 23:002012-10-30 08:37
iperdomo 
iperdomo 
urgentmajoralways
closedfixed 
303.5.4-1-ARCH
 
3.0MP173.0MP17 
alostale
Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
Core
No
0021962: A request to LoginHandler should clear previously set session attributes
A request to LoginHandler is perfoming a login request, therefore it should clear previous stored session attributes related to the previous authenticated user
* Create a non-authenticated Component
* Use it calling the kernel servlet
* An authentication with System user occours
* Now try to login with a different user
* You'll get an error in the console, related to client list not valid
* Clear #AD_Role_ID from session
* Set the #logginIn session attribute
No tags attached.
Issue History
2012-10-16 23:00iperdomoNew Issue
2012-10-16 23:00iperdomoAssigned To => iperdomo
2012-10-16 23:00iperdomoWeb browser => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
2012-10-16 23:00iperdomoModules => Core
2012-10-16 23:34iperdomoStatusnew => scheduled
2012-10-16 23:34iperdomofix_in_branch => pi
2012-10-16 23:37hgbotCheckin
2012-10-16 23:37hgbotNote Added: 0053404
2012-10-16 23:37hgbotStatusscheduled => resolved
2012-10-16 23:37hgbotResolutionopen => fixed
2012-10-16 23:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9c1cc071f2e79af63a0f13d85790af1d26984e5f [^]
2012-10-16 23:37iperdomoStatusresolved => new
2012-10-16 23:37iperdomoResolutionfixed => open
2012-10-16 23:38iperdomoReview Assigned To => marvintm
2012-10-16 23:38iperdomoWeb browserApple Safari, Google Chrome, Internet Explorer, Mozilla Firefox => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
2012-10-16 23:38iperdomofix_in_branchpi =>
2012-10-16 23:38iperdomoStatusnew => scheduled
2012-10-16 23:38iperdomofix_in_branch => pi
2012-10-16 23:38iperdomoStatusscheduled => resolved
2012-10-16 23:38iperdomoResolutionopen => fixed
2012-10-18 17:46hudsonbotCheckin
2012-10-18 17:46hudsonbotNote Added: 0053472
2012-10-30 08:37alostaleReview Assigned Tomarvintm => alostale
2012-10-30 08:37alostaleNote Added: 0053778
2012-10-30 08:37alostaleStatusresolved => closed
2012-10-30 08:37alostaleFixed in Version => 3.0MP17

Notes
(0053404)
hgbot   
2012-10-16 23:37   
Repository: erp/devel/pi
Changeset: 9c1cc071f2e79af63a0f13d85790af1d26984e5f
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Oct 16 23:35:47 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9c1cc071f2e79af63a0f13d85790af1d26984e5f [^]

Fixes issue 21962: Remove previous user attributes on LoginHandler
- The LoginHandler receives the POST request from the login page, it means
that is a new login attempt. Previous session attributes related to the login
flow needs to be cleared

---
M src/org/openbravo/base/secureApp/LoginHandler.java
---
(0053472)
hudsonbot   
2012-10-18 17:46   
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/81ae03c9fdbb [^]

Maturity status: Test
(0053778)
alostale   
2012-10-30 08:37   
code reviewed in pi@b2e90dcc4dc7