Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037537 | Retail Modules | Web POS | public | 2017-12-21 12:28 | 2017-12-22 13:24 |
Reporter | samuel_nicuesa | ||||
Assigned To | jorge-garcia | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | RR16Q4.3 | ||||
Target Version | Fixed in Version | RR18Q1 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | 49922 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037537: It is necessary to display an advice, red message , and not execute callback when the WEB POS transaction fails. | ||||
Description | It is necessary to display an advice and don't execute callback when the WEB POS transaction fails. | ||||
Steps To Reproduce | -Login into Web POS -Using org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/data/dataordersave.js file,put a breakpoint in "frozenReceipt.set('hasbeenpaid', 'Y');" line of this part: receipt.set('hasbeenpaid', 'Y'); frozenReceipt.set('hasbeenpaid', 'Y'); if (OB.MobileApp.model.hasPermission('OBMOBC_SynchronizedMode', true)) { and put another breakpoint in: "OB.error("[receipt.closed] The transaction failed..." line. -Add one product to the receipt and pay it. -Then execute this commands in the first breakpoint using the developers tools of chrome: superreceipt=OB.UTIL.clone(frozenReceipt) frozenReceipt=null -In the second breakpoint execute superreceipt = frozenReceipt. -After that if you refresh WEB POS you can see the same receipt because it has not been synchronized and there wasn't a red popup showing the error (transaction failed...). | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-12-21 12:28 | samuel_nicuesa | New Issue | |||
2017-12-21 12:28 | samuel_nicuesa | Assigned To | => Retail | ||
2017-12-21 12:28 | samuel_nicuesa | OBNetwork customer | => Yes | ||
2017-12-21 12:28 | samuel_nicuesa | Support ticket | => 49922 | ||
2017-12-21 12:28 | samuel_nicuesa | Resolution time | => 1515625200 | ||
2017-12-21 12:28 | samuel_nicuesa | Triggers an Emergency Pack | => No | ||
2017-12-21 17:26 | jorge-garcia | Status | new => scheduled | ||
2017-12-21 17:26 | jorge-garcia | Assigned To | Retail => jorge-garcia | ||
2017-12-22 09:31 | hgbot | Checkin | |||
2017-12-22 09:31 | hgbot | Note Added: 0101198 | |||
2017-12-22 09:31 | hgbot | Status | scheduled => resolved | ||
2017-12-22 09:31 | hgbot | Resolution | open => fixed | ||
2017-12-22 09:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/49b3057456996423b8fd5007bf7383a88294e168 [^] | ||
2017-12-22 13:24 | marvintm | Review Assigned To | => marvintm | ||
2017-12-22 13:24 | marvintm | Status | resolved => closed | ||
2017-12-22 13:24 | marvintm | Fixed in Version | => RR18Q1 |
Notes | |||||
|
|||||
|
|