Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0031824 | Retail Modules | Web POS | public | 2016-01-05 17:57 | 2016-01-19 15:18 | |||||||||||||||||||||
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 | RR16Q2 | Fixed in Version | ||||||||||||||||||||||||
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 | 0031824: 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 |
| |||||||||||||||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8891&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=8892&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2016-01-05 17:57 | mtaal | New Issue | ||||||||||||||||||||||||
2016-01-05 17:57 | mtaal | Assigned To | => mtaal | |||||||||||||||||||||||
2016-01-05 17:57 | mtaal | File Added: trigger.txt | ||||||||||||||||||||||||
2016-01-05 17:57 | mtaal | OBNetwork customer | => No | |||||||||||||||||||||||
2016-01-05 17:57 | mtaal | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2016-01-05 17:57 | mtaal | Status | new => scheduled | |||||||||||||||||||||||
2016-01-05 17:58 | mtaal | File Added: stack-trace.txt | ||||||||||||||||||||||||
2016-01-05 17:58 | mtaal | Review Assigned To | => marvintm | |||||||||||||||||||||||
2016-01-05 22:11 | hgbot | Checkin | ||||||||||||||||||||||||
2016-01-05 22:11 | hgbot | Note Added: 0083145 | ||||||||||||||||||||||||
2016-01-05 22:11 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2016-01-05 22:11 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2016-01-05 22:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/727a4f04e3e023624bbdc36cdb682e95304129ad [^] | |||||||||||||||||||||||
2016-01-14 16:15 | hgbot | Checkin | ||||||||||||||||||||||||
2016-01-14 16:15 | hgbot | Note Added: 0083305 | ||||||||||||||||||||||||
2016-01-14 16:15 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/727a4f04e3e023624bbdc36cdb682e95304129ad [^] => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.mobile.core/rev/886ed432a5b837bbd459ea148b8c195d9873aef2 [^] | |||||||||||||||||||||||
2016-01-14 16:18 | mtaal | Note Deleted: 0083305 | ||||||||||||||||||||||||
2016-01-18 16:47 | mtaal | Review Assigned To | marvintm => migueldejuana | |||||||||||||||||||||||
2016-01-19 15:18 | migueldejuana | Note Added: 0083405 | ||||||||||||||||||||||||
2016-01-19 15:18 | migueldejuana | Status | resolved => closed | |||||||||||||||||||||||
2017-11-16 07:40 | guillermogil | Relationship added | causes 0037301 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|