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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033745
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2016-08-18 18:332016-08-19 09:24
ReporteradrianromeroView Statuspublic 
Assigned ToRetail 
PriorityurgentResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033745: WEB POS login requests are executed serveral times in case of timeout

DescriptionWhen login in Web POS, if the server side is slow handling the login request several login requests are performed. This can cause that Web POS can try to reopen an open session and the error "Session for the ERP already exists" is displayed in the Web POS.

See screenshot attached
Steps To ReproduceTo reproduce this issue is needed to simulate slow handling of login in the server side. For example running the server in debug mode and adding a breakpoint at the beginning of the doPost() method of the class MobileCoreLoginHandler in org.openbravo.mobile.core.

Then try to login in Web POS and wait for the breakpoint to be reached, once is reached for the first time wait for few seconds to continue the execution.

Observe that the breakpoint will be reached several times more. Continue the execution of these repeated requests or disable the breakpoint

Observe in the client side it appears the message "Session for the ERP already exists"
Proposed SolutionAs a workaround it can be increased the timeout in the ajax request of the login function in the javascript ob-terminal-model.js in org.openbravo.mobile.core.
TagsNo tags attached.
Attached Filespng file icon Captura de pantalla de 2016-08-18 18:31:42.png [^] (114,504 bytes) 2016-08-18 18:34

- Relationships Relation Graph ] Dependency Graph ]
duplicate of design defect 0033665RR16Q4 closedmtaal POSLoginHandler call has a timeout which is too short and should not retry 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-08-18 18:33 adrianromero New Issue
2016-08-18 18:33 adrianromero Assigned To => Retail
2016-08-18 18:33 adrianromero Resolution time => 1472076000
2016-08-18 18:33 adrianromero Triggers an Emergency Pack => No
2016-08-18 18:34 adrianromero File Added: Captura de pantalla de 2016-08-18 18:31:42.png
2016-08-19 08:57 migueldejuana Relationship added duplicate of 0033665
2016-08-19 09:24 adrianromero Review Assigned To => adrianromero
2016-08-19 09:24 adrianromero Status new => closed
2016-08-19 09:24 adrianromero Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker