Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0027640 | Retail Modules | Web POS | public | 2014-09-18 18:03 | 2014-09-23 08:31 |
Reporter | adrianromero | ||||
Assigned To | adrianromero | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR14Q4 | |||
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 | 0027640: Errors in OB.Dal.save callbacks should not rollback the transaction. | ||||
Description | The OB.Dal.save function: OB.Dal.save = function (model, success, error, forceInsert) https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/da6fd82667d5/web/org.openbravo.mobile.core/source/data/ob-dal.js#l330 [^] If the 'success' callback function throws an error, the websql transaction is rolled back It is assumed in all calls to the OB.Dal.save that an error in the success callback does not have to rollback the transaction | ||||
Steps To Reproduce | In the line: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/79500303f4b7/web/org.openbravo.retail.posterminal/js/data/dataordersave.js#l109 [^] Throw an error: throw "error"; And verify that when closing an order, the order is kept in the websql database as not paid | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-09-18 18:03 | adrianromero | New Issue | |||
2014-09-18 18:03 | adrianromero | Assigned To | => adrianromero | ||
2014-09-18 18:03 | adrianromero | OBNetwork customer | => No | ||
2014-09-18 18:03 | adrianromero | Triggers an Emergency Pack | => No | ||
2014-09-18 18:12 | adrianromero | Review Assigned To | => marvintm | ||
2014-09-22 16:19 | mtaal | Target Version | RR14Q4 => | ||
2014-09-22 18:18 | hgbot | Checkin | |||
2014-09-22 18:18 | hgbot | Note Added: 0070247 | |||
2014-09-22 18:18 | hgbot | Status | new => resolved | ||
2014-09-22 18:18 | hgbot | Resolution | open => fixed | ||
2014-09-22 18:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/208a8f23b274b045c7522106e6c55f1a13b315a7 [^] | ||
2014-09-23 08:31 | migueldejuana | Review Assigned To | marvintm => migueldejuana | ||
2014-09-23 08:31 | migueldejuana | Note Added: 0070263 | |||
2014-09-23 08:31 | migueldejuana | Status | resolved => closed | ||
2014-09-23 08:31 | migueldejuana | Fixed in Version | => RR14Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|