Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0031825 | Retail Modules | Web POS | public | 2016-01-05 17:57 | 2016-01-19 14:59 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR16Q1 | Fixed in Version | RR16Q1 | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0031825: Import entry may not get saved in case of low level database error, webpos sees message as succesfully send |
Description | When there is a low level error when saving an import entry the WebPOS client will think that the message is saved on the server and will remove it from the local cache. |
Steps To Reproduce | 1- Login to webpos
2- Create a trigger which gives an exception, set as after-insert trigger on c_import_entry table. See the example trigger function attached to the issue.
3- Create a ticket in webpos and submit
4- The ticket is not saved on the server but still removed from webpos
See the attached stack trace for what the console shows. |
Proposed Solution | on the server create the correct error json and set a failure status code so that the webpos client correctly signals an error. |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0031824 | RR16Q2 | closed | mtaal | Import entry may not get saved in case of low level database error, webpos sees message as succesfully send |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-01-05 17:57 | mtaal | Type | defect => backport |
2016-01-05 17:57 | mtaal | Target Version | RR16Q2 => RR16Q1.1 |
2016-01-14 15:41 | mtaal | Target Version | RR16Q1.1 => RR16Q1 |
2016-01-14 16:17 | mtaal | Note Added: 0083306 | |
2016-01-14 16:17 | mtaal | Status | scheduled => resolved |
2016-01-14 16:17 | mtaal | Fixed in Version | => RR16Q1 |
2016-01-14 16:17 | mtaal | Resolution | open => fixed |
2016-01-14 16:18 | mtaal | Note Added: 0083307 | |
2016-01-18 16:46 | mtaal | Review Assigned To | => migueldejuana |
2016-01-19 14:59 | migueldejuana | Note Added: 0083404 | |
2016-01-19 14:59 | migueldejuana | Status | resolved => closed |