Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||||||||||||||||
View Issue Details | |||||||||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||
0036790 | Retail Modules | Web POS | public | 2017-09-05 13:19 | 2017-10-01 23:16 | ||||||||||||||||||||||||||||
Reporter | marvintm | ||||||||||||||||||||||||||||||||
Assigned To | migueldejuana | ||||||||||||||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||||||
Product Version | |||||||||||||||||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||||||||||||||
Review Assigned To | mtaal | ||||||||||||||||||||||||||||||||
OBNetwork customer | |||||||||||||||||||||||||||||||||
Support ticket | |||||||||||||||||||||||||||||||||
Regression level | |||||||||||||||||||||||||||||||||
Regression date | |||||||||||||||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||||||
Summary | 0036790: Synchronized mode has problems when the request to the backend reaches timeout | ||||||||||||||||||||||||||||||||
Description | There is a problem when using Synchronized mode, if the request to the backend reaches timeout. The Web POS is blocked until that point, but after the timeout is reached, and a retry is performed, this retry returns with the information that the backend continues executing the process. Once this happens, a popup is shown to the user informing of this fact. This is correct. However, the user can then close the popup, and start using the Web POS again, and this is incorrect, because as the process is still running, the terminal should continue to be blocked until it finishes. This can lead to very painful errors, such as tickets being created after one is still being processed, and in this case, the Cashup information would become corrupted because the information loaded for this second ticket would lack the changes of the ticket which is still being processed. | ||||||||||||||||||||||||||||||||
Steps To Reproduce | - Activate Synchronize mode - Make sure you have more than one retry by default configured - Put a breakpoint in the Orderloader class so that it never finishes - Log in the Web POS. Create a ticket and complete it. - Verify that the "Processing transaction" popup is shown - After timeout is reached, a new request (retry) is performed - After this request returns, another popup is shown explaining to the user that the request is still being processed. - The user can close this popup, and continue working. This is wrong, because the order has not yet been synchronized, and the system should continue to be blocked. - Moreover, if the user now tries to do another ticket, the cashup information will be come incorrect, as it will no longer contain the previous sale. | ||||||||||||||||||||||||||||||||
Proposed Solution | If Synchronized mode is enabled, in this case the Web POS should continue to be blocked, until it can confirm that the order either was processed successfully in the backend, or failed with an error. | ||||||||||||||||||||||||||||||||
Additional Information | |||||||||||||||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||||||||||||||
Relationships |
| ||||||||||||||||||||||||||||||||
Attached Files | |||||||||||||||||||||||||||||||||
Issue History | |||||||||||||||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||
2017-09-05 13:19 | marvintm | New Issue | |||||||||||||||||||||||||||||||
2017-09-05 13:19 | marvintm | Assigned To | => Retail | ||||||||||||||||||||||||||||||
2017-09-05 13:19 | marvintm | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||
2017-09-15 10:14 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2017-09-15 10:14 | hgbot | Note Added: 0099059 | |||||||||||||||||||||||||||||||
2017-09-15 10:14 | hgbot | Status | new => resolved | ||||||||||||||||||||||||||||||
2017-09-15 10:14 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||
2017-09-15 10:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/45e0fff1629b9c6641757adfebd0ed81f552b9c3 [^] | ||||||||||||||||||||||||||||||
2017-09-15 11:56 | marvintm | Assigned To | Retail => migueldejuana | ||||||||||||||||||||||||||||||
2017-09-20 12:55 | marvintm | Note Added: 0099171 | |||||||||||||||||||||||||||||||
2017-09-20 12:55 | marvintm | Status | resolved => new | ||||||||||||||||||||||||||||||
2017-09-20 12:55 | marvintm | Resolution | fixed => open | ||||||||||||||||||||||||||||||
2017-09-21 15:27 | migueldejuana | Relationship added | related to 0036918 | ||||||||||||||||||||||||||||||
2017-09-22 10:07 | migueldejuana | Relationship added | related to 0036925 | ||||||||||||||||||||||||||||||
2017-09-22 10:10 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2017-09-22 10:10 | hgbot | Note Added: 0099462 | |||||||||||||||||||||||||||||||
2017-09-22 10:10 | hgbot | Status | new => resolved | ||||||||||||||||||||||||||||||
2017-09-22 10:10 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||
2017-09-22 10:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/45e0fff1629b9c6641757adfebd0ed81f552b9c3 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ff6702c39ef0dc4cff3dde8d4518e38a691f5fc6 [^] | ||||||||||||||||||||||||||||||
2017-09-22 14:28 | marvintm | Resolution time | => 1506636000 | ||||||||||||||||||||||||||||||
2017-09-27 09:10 | mtaal | Review Assigned To | => mtaal | ||||||||||||||||||||||||||||||
2017-10-01 23:16 | mtaal | Note Added: 0099689 | |||||||||||||||||||||||||||||||
2017-10-01 23:16 | mtaal | Status | resolved => closed | ||||||||||||||||||||||||||||||
2017-10-02 10:20 | mtaal | Relationship added | has duplicate 0036323 | ||||||||||||||||||||||||||||||
2017-11-02 15:12 | migueldejuana | Relationship added | causes 0037210 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|