Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023831 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] C. Security | major | always | 2013-05-16 10:52 | 2013-05-23 01:33 | |||
Reporter | jecharri | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | cbb22f04e9d7 | ||||
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 | 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0058670) alostale (viewer) 2013-05-16 11:20 |
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. |
(0058671) alostale (viewer) 2013-05-16 11:41 edited on: 2013-05-16 11:41 |
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 (developer) 2013-05-16 11:42 |
Repository: erp/devel/pi Changeset: cbb22f04e9d7ddca7ff9051a1306578366f8df1f Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu May 16 11:32:43 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/cbb22f04e9d7ddca7ff9051a1306578366f8df1f [^] fixed bug 23831: mobile sessions are killed when user limit is reached in erp --- M src/org/openbravo/erpCommon/obps/ActivationKey.java --- |
(0058821) hudsonbot (viewer) 2013-05-23 01:33 |
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/97c7f6256af7 [^] Maturity status: Test |
![]() |
|||
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 | View Revisions |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |