Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037900 | Openbravo ERP | A. Platform | public | 2018-02-13 11:26 | 2018-02-13 13:34 | |||||||
Reporter | AugustoMauch | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR18Q1 | Fixed in Version | 3.0PR18Q1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037900: Session in POS can prevent an ERP session (which counts for concurrent user limit) from being closed | |||||||||||
Description | POS session do not count for the maximum number of concurrent users, ERP sessions do count. There is a problem when opening the back office from the POS that can lead to an ERP session that is not closed, even when there is no activity in the ERP. This can lead to a 'leak' of sessions that count for the maximum number of concurrent users, which can result in the limit of concurrent users being reached, when some of those concurrent users belong to sessions that should have been automatically deactivated. | |||||||||||
Steps To Reproduce | In a retail environment: - Log in in the POS. Check that in the ad_session table there is a new session with login_status = 'OBPOS_POS' - Click on the Back Office button on the Menu. The ERP will open in a new tab. Check that the session now has a login_status = 'S' (ERP) - Close the ERP tab - Keep working with the POS window for a few minutes. - Force the execution of the ActivationKey.deactivateTimeOutSessions method. This method should deactivate all ERP sessions that have been inactive for more than 2 minutes. The session will not be deactivated because, although the last ping was invoked more than 2 minutes ago, it is shared with the POS, where there has been recent activity. This is a problem because the 'S' session counts for the limit of maximum concurrent users, while the OBPOS_POS session should not count. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-02-13 12:22 | alostale | Type | defect => backport | |||||||||
2018-02-13 12:22 | alostale | Target Version | => 3.0PR18Q1 | |||||||||
2018-02-13 12:58 | hgbot | Checkin | ||||||||||
2018-02-13 12:58 | hgbot | Note Added: 0102356 | ||||||||||
2018-02-13 12:58 | hgbot | Status | scheduled => resolved | |||||||||
2018-02-13 12:58 | hgbot | Resolution | open => fixed | |||||||||
2018-02-13 12:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q1/rev/ce1a0f24b4ca8280b9f907f6343e4f9da22efa75 [^] | |||||||||
2018-02-13 13:34 | AugustoMauch | Note Added: 0102361 | ||||||||||
2018-02-13 13:34 | AugustoMauch | Status | resolved => closed | |||||||||
2018-02-13 13:34 | AugustoMauch | Fixed in Version | => 3.0PR18Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|