Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033745 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2016-08-18 18:33 | 2016-08-19 09:24 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
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 | adrianromero | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033745: WEB POS login requests are executed serveral times in case of timeout | |||||||
Description | When 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 Reproduce | To 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 Solution | As 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|||
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 | OBNetwork customer | => Yes |
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 |