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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048194
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-12-06 13:572021-12-21 13:13
ReporterjmelinView Statuspublic 
Assigned ToRetail 
PriorityurgentResolutionopenFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048194: JIRA 2541 - Multiple calls to CheckTerminalAuth at the end of an order

DescriptionAfter completed an order, we can see multiple calls to CheckTerminalAuth in network tab of Chrome.

Regarding wiki, this is used to synchronize log messages, but it should be only once per 30s (can be configured).
Steps To ReproduceConnect to POS and open the devtools in Chrome
Create an order and pay
Before completing the sales order, clean the network data
Complete the order => you can see several calls to CheckTerminalAuth
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0048292 acknowledgedRetail Review if the amount of requests for checking the terminal authentication can be reduced 

-  Notes
(0133876)
caristu (manager)
2021-12-21 13:13
edited on: 2021-12-21 13:14

This is not an issue as it is working as expected: currently a request to CheckTerminalAuth is done per every message that is synchronized with the backend.

See here: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/authentication/checkTerminalAuth.js#L106 [^]

Reported a feature request(0048292) to review if it is possible to improve the existing logic in order to reduce the number of CheckTerminalAuth requests


- Issue History
Date Modified Username Field Change
2021-12-06 13:57 jmelin New Issue
2021-12-06 13:57 jmelin Assigned To => Retail
2021-12-06 13:57 jmelin Triggers an Emergency Pack => No
2021-12-21 13:10 caristu Relationship added related to 0048292
2021-12-21 13:13 caristu Review Assigned To => caristu
2021-12-21 13:13 caristu Note Added: 0133876
2021-12-21 13:13 caristu Status new => closed
2021-12-21 13:14 caristu Note Edited: 0133876 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker