Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040577
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-04-10 12:152019-05-07 16:53
ReportergorkaionView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision523c76bc9a15
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040577: ExternalOrderLoader creates Successfull sessions with no last ping when it is not stateless

DescriptionWhen 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 ReproduceCall 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 SolutionCalls to ExternalOrderLoader should create a session with login status SUCCESS_SESSION_WEB_SERVICE and should count as a WebService call.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- Issue History
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 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
Powered by Mantis Bugtracker