Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040577 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-04-10 12:15 | 2019-05-07 16:53 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 523c76bc9a15 | ||||
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 | Gold | |||||||
Support ticket | 8565 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040577: ExternalOrderLoader creates Successfull sessions with no last ping when it is not stateless | |||||||
Description | When the ExternalOrderLoader is called as http://localhost/openbravo/org.openbravo.mobile.core.service.jsonrest/org.openbravo.retail.posterminal.ExternalOrderLoader [^] It is authenticating using the doAuthenticate() of DefaultAuthenticationManager. If it is not a stateless request it executes a normal backoffice authentication that creates a Session with status Successful but with no Last Ping value. These sessions are not automatically killed by timeout and count as concurrent user. To clean these sessions you need to restart tomcat or manually kill them. | |||||||
Steps To Reproduce | Call the ExternalOrderLoader not using stateless parameter. Check Sessions window with System Administrator role. There is a record for each request sent in status Successful and no Last Ping set. | |||||||
Proposed Solution | Calls to ExternalOrderLoader should create a session with login status SUCCESS_SESSION_WEB_SERVICE and should count as a WebService call. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0111517) hgbot (developer) 2019-05-07 07:59 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 523c76bc9a153454ca88a3a4db5c3e2f0a04d3a7 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue May 07 11:28:50 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/523c76bc9a153454ca88a3a4db5c3e2f0a04d3a7 [^] Fixed issue 40577 : Updated ExternalOrderLoader class with Stateless authentication * If ExternalOrderLoader is updated with Stateless authentication, then every request to ExternalOrderLoader should be consider as webservice call and it will not consider as request as concurrent user --- M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-04-10 12:15 | gorkaion | New Issue | |
2019-04-10 12:15 | gorkaion | Assigned To | => Retail |
2019-04-10 12:15 | gorkaion | OBNetwork customer | => Gold |
2019-04-10 12:15 | gorkaion | Support ticket | => 8565 |
2019-04-10 12:15 | gorkaion | Resolution time | => 1556661600 |
2019-04-10 12:15 | gorkaion | Triggers an Emergency Pack | => No |
2019-05-06 10:56 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-05-06 10:56 | ranjith_qualiantech_com | Status | new => scheduled |
2019-05-07 07:59 | hgbot | Checkin | |
2019-05-07 07:59 | hgbot | Note Added: 0111517 | |
2019-05-07 07:59 | hgbot | Status | scheduled => resolved |
2019-05-07 07:59 | hgbot | Resolution | open => fixed |
2019-05-07 07:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/523c76bc9a153454ca88a3a4db5c3e2f0a04d3a7 [^] |
2019-05-07 16:53 | marvintm | Review Assigned To | => marvintm |
2019-05-07 16:53 | marvintm | Status | resolved => closed |
2019-05-07 16:53 | marvintm | Fixed in Version | => RR19Q3 |
Copyright © 2000 - 2009 MantisBT Group |