Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038161 | Openbravo ERP | A. Platform | public | 2018-03-16 13:27 | 2019-10-20 19:33 |
|
Reporter | JONHM | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q3 | |
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' |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 | |
Notes |
|
(0103641)
|
hgbot
|
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
|
2018-04-03 12:14
|
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|