Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038626 | Retail Modules | Web POS | public | 2018-05-24 17:44 | 2018-06-25 09:04 |
|
Reporter | migueldejuana | |
Assigned To | migueldejuana | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR18Q2.1 | Fixed in Version | RR18Q2.1 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038626: Avoid loosing orders if backend throws exception while inserting import entry |
Description | When an order is send to backend, it is removed from local database when we get the success response. It is remove because the import entry is created and no need to have the message in local database.
There is one case thaht is not covered. When synchornizating the message, in the process of inserting the import entry we could throw an exception(i.e.: The backend timeout finish before client timeout. Wring development). This exception is send as success with status -1. Wrongly, we are considering it as a success and we remove the message loosing the order. |
Steps To Reproduce | - Add an exception in the process of saving the Import Entry. In WebServiceAuthenticatedServlet for example.
- Create an order and process it
- ERROR! The Exception will be thrown, the import entry is not created and the message is removed from local database. |
Proposed Solution | In the success callback, if the status is -1, do not remove the message and call error callback. |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0038621 | | closed | migueldejuana | Avoid loosing orders if backend throws exception while inserting import entry |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-05-25 10:12 | migueldejuana | Type | defect => backport |
2018-05-25 10:12 | migueldejuana | Target Version | => RR18Q2.1 |
2018-06-22 13:36 | migueldejuana | Note Added: 0105344 | |
2018-06-22 13:36 | migueldejuana | Status | scheduled => resolved |
2018-06-22 13:36 | migueldejuana | Resolution | open => fixed |
2018-06-25 09:04 | marvintm | Review Assigned To | => marvintm |
2018-06-25 09:04 | marvintm | Status | resolved => closed |
2018-06-25 09:04 | marvintm | Fixed in Version | => RR18Q2.1 |