Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037537 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-12-21 12:28 | 2017-12-22 13:24 | |||
Reporter | samuel_nicuesa | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 49b305745699 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR16Q4.3 | SCM revision | ||||||
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...). | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0101198) hgbot (developer) 2017-12-22 09:31 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 49b3057456996423b8fd5007bf7383a88294e168 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Dec 22 09:31:43 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/49b3057456996423b8fd5007bf7383a88294e168 [^] Fixed issue 37537: It is necessary to display an advice, red message , and not execute callback when the WEB POS transaction fails. The solution is to show a red message when the transaction fails and don’t execute the callback to stop the execution flow. --- M web/org.openbravo.retail.posterminal/js/data/dataordersave.js --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |