Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038161 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2018-03-16 13:27 | 2019-10-20 19:33 | |||
Reporter | JONHM | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9d919bcdb4fe | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038161: Maximum Concurrent Users limit not calculating properly | |||||||
Description | When the Maximum Concurrent Users limit is reached, the user only can log in a System User, but this session is also shown on the ad_session table with status "Concurrent Users Limit Reached" and active = Y. Those "invalid" sessions are taking into account as active users and this is causing problems with the login | |||||||
Steps To Reproduce | 3 different sessions on browsers are needed and a instance with only 2 Concurrent Global System Users: - Log in with Openbravo in browser 1 -> successfull - Log in with Openbravo in browser 2 -> successfull - Log in with Openbravo in browser 3 -> concurrent user limit - Log out in browser 2 -> The session is set as active = N - Log in again with Openbravo in browser 2 -> concurrent user limit and only 1 valid session is active | |||||||
Proposed Solution | Do not take into account the sessions with login_status = 'CUR' | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0103641) hgbot (developer) 2018-04-03 12:14 |
Repository: erp/devel/pi Changeset: 9d919bcdb4fe9b9ff3960627f3c05994da53dc5c Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Apr 03 12:06:50 2018 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/9d919bcdb4fe9b9ff3960627f3c05994da53dc5c [^] fixed bug 38161: CUR System Admin restricted sessions are counted for CU limit When number of CU is reachead and user has Sys Admin role, a CUR session is created limiting it to oly Sys Admin role. These type of sessions were counted for CU limit preventing new sessions to be created. Now these sessions are not taken into account anymore for CU limit nor removed if limit is reached. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoComponent.java M src/index.jsp M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java M src/org/openbravo/erpCommon/obps/ActivationKey.java --- |
(0103642) hgbot (developer) 2018-04-03 12:14 |
Repository: erp/devel/pi Changeset: c0b74e09ac0c460ef95d67a9c088808e11666acf Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Apr 03 12:08:23 2018 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/c0b74e09ac0c460ef95d67a9c088808e11666acf [^] related to bug 38161: fixed typo --- M src/org/openbravo/erpCommon/obps/ActivationKey.java --- |
(0103745) caristu (viewer) 2018-04-09 09:13 |
Code reviewed + tested OK. |
(0104360) hudsonbot (viewer) 2018-05-09 19:29 |
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/2be7d3efe606 [^] Maturity status: Test |
(0104361) hudsonbot (viewer) 2018-05-09 19:29 |
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/2be7d3efe606 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2018-03-16 13:27 | JONHM | New Issue | |
2018-03-16 13:27 | JONHM | Assigned To | => platform |
2018-03-16 13:27 | JONHM | OBNetwork customer | => Yes |
2018-03-16 13:27 | JONHM | Modules | => Core |
2018-03-16 13:27 | JONHM | Resolution time | => 1522965600 |
2018-03-16 13:27 | JONHM | Triggers an Emergency Pack | => No |
2018-04-03 12:08 | alostale | Assigned To | platform => alostale |
2018-04-03 12:09 | alostale | Review Assigned To | => caristu |
2018-04-03 12:14 | hgbot | Checkin | |
2018-04-03 12:14 | hgbot | Note Added: 0103641 | |
2018-04-03 12:14 | hgbot | Status | new => resolved |
2018-04-03 12:14 | hgbot | Resolution | open => fixed |
2018-04-03 12:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9d919bcdb4fe9b9ff3960627f3c05994da53dc5c [^] |
2018-04-03 12:14 | hgbot | Checkin | |
2018-04-03 12:14 | hgbot | Note Added: 0103642 | |
2018-04-09 09:13 | caristu | Note Added: 0103745 | |
2018-04-09 09:13 | caristu | Status | resolved => closed |
2018-04-09 09:13 | caristu | Fixed in Version | => 3.0PR18Q3 |
2018-05-09 19:29 | hudsonbot | Checkin | |
2018-05-09 19:29 | hudsonbot | Note Added: 0104360 | |
2018-05-09 19:29 | hudsonbot | Checkin | |
2018-05-09 19:29 | hudsonbot | Note Added: 0104361 | |
2019-10-20 19:33 | eugeni | Issue Monitored: eugeni |
Copyright © 2000 - 2009 MantisBT Group |