Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023831 | Openbravo ERP | C. Security | public | 2013-05-16 10:52 | 2013-05-23 01:33 |
|
Reporter | jecharri | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 21173 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0023831: Problems with licenses in web POS and ERP |
Description | Problems with licenses in web POS and ERP
|
Steps To Reproduce | -Activate one instance with one concurrent user license
-Login in the ERP
-login in Web POS
if you try to login again in the ERP or in a web POS, the application is going to kill the web pos session. In this way web POS goes to offline mode and it is impossible to work |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0020867 | | closed | alostale | Not ERP session counted as concurrent users |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-05-16 10:52 | jecharri | New Issue | |
2013-05-16 10:52 | jecharri | Assigned To | => marvintm |
2013-05-16 10:52 | jecharri | OBNetwork customer | => Yes |
2013-05-16 10:52 | jecharri | Resolution time | => 1368741600 |
2013-05-16 10:52 | jecharri | Support ticket | => 21173 |
2013-05-16 11:01 | jecharri | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=4722#r4722 |
2013-05-16 11:14 | alostale | Relationship added | related to 0020867 |
2013-05-16 11:20 | alostale | Note Added: 0058670 | |
2013-05-16 11:22 | alostale | Project | Retail Modules => Openbravo ERP |
2013-05-16 11:28 | alostale | Assigned To | marvintm => alostale |
2013-05-16 11:28 | alostale | Modules | => Core |
2013-05-16 11:28 | alostale | Triggers an Emergency Pack | => No |
2013-05-16 11:28 | alostale | Category | Web POS => C. Security |
2013-05-16 11:28 | alostale | version | RMP22 => |
2013-05-16 11:28 | alostale | Target Version | RMP23 => |
2013-05-16 11:41 | alostale | Note Added: 0058671 | |
2013-05-16 11:41 | alostale | Note Edited: 0058671 | bug_revision_view_page.php?bugnote_id=0058671#r4724 |
2013-05-16 11:41 | alostale | Review Assigned To | => marvintm |
2013-05-16 11:42 | hgbot | Checkin | |
2013-05-16 11:42 | hgbot | Note Added: 0058672 | |
2013-05-16 11:42 | hgbot | Status | new => resolved |
2013-05-16 11:42 | hgbot | Resolution | open => fixed |
2013-05-16 11:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cbb22f04e9d7ddca7ff9051a1306578366f8df1f [^] |
2013-05-16 18:24 | marvintm | Status | resolved => closed |
2013-05-23 01:33 | hudsonbot | Checkin | |
2013-05-23 01:33 | hudsonbot | Note Added: 0058821 | |
Notes |
|
|
In backend the problem is as follows:
Mobile sessions are not updated with ping time. In case the maximum number of concurrent users has been reached in backed and an additional one tries to login, active sessions with old ping time or without it at all are considered as expired ones and they are killed to free the count of concurrent users. As mobile sessions don't have this ping, they are killed. |
|
|
|
Executed test cases.
Activate instance with a license allowing 1 concurrent user.
* Case 1
- Log in POS
- Log in ERP -> This second user is accepted without problem
- Check POS session is still alive (no offline) -> This was what was perceived before the fix
- Try to log in again in ERP with a user without Sys Admin role -> It is not allowed due to maximum number of concurrent users reached
- Try to log in with a user with Sys Admin role -> A message is shown before allowing to continue login, only Sys Admin role can be used by this session
* Case 2
- Log in POS with 2 sessions -> Several sessions are allowed for POS
- Log in ERP -> It is allowed as POS sessions don't interfere with ERP ones
- Check POS sessions are still alive
Regression risk of this fix is minimal
|
|
|
(0058672)
|
hgbot
|
2013-05-16 11:42
|
|
|
|
|
|