Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038176 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-03-20 13:06 | 2018-03-22 09:43 | |||
Reporter | asiermartirena | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7fabb7fb5ed1 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | Coding ( Testing ) | |||||||
Regression date | 2017-10-11 | |||||||
Regression introduced in release | RR18Q1 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c903c081a0a [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038176: JS error when trying to pay a ticket with a payment method not in that terminal | |||||||
Description | There's a javascript error when trying to pay a ticket in a terminal that doesn't contain the payment method of the payment used to pay (partially or totally) the ticket. In the 'checkValidOverpayment' function there's a line that takes the payment method of the payment, and tries to take that payment method from the terminal. As the payment method is not in the terminal, there's a null pointer. This is the line: overPaymentMethod = overPaymentUsed ? OB.MobileApp.model.paymentnames[overPaymentUsed.get('kind')].paymentMethod : undefined This only occurs in a terminal that contains at least one payment method, otherwise this function is not called. | |||||||
Steps To Reproduce | Load in a terminal with the payment method 'Card'. Create a ticket and pay partially or totally by 'Card'. Load the Web POS in a terminal that doesn't contain the 'Card' payment method. Load the previously created ticket. Click on the total amount button -----> A javascript error appears | |||||||
Tags | SER-QA | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0103404) hgbot (developer) 2018-03-22 07:29 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 7fabb7fb5ed123ed5cb6d62c2378d48e0ff69bf5 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Mar 22 11:59:13 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7fabb7fb5ed123ed5cb6d62c2378d48e0ff69bf5 [^] Fixed issue 38176 : Validate receipt payment with terminal payment * If receipt payment is not exists in terminal payments, it should not validate overpayment --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2018-03-20 13:06 | asiermartirena | New Issue | |
2018-03-20 13:06 | asiermartirena | Assigned To | => Retail |
2018-03-20 13:06 | asiermartirena | Resolution time | => 1522706400 |
2018-03-20 13:06 | asiermartirena | Triggers an Emergency Pack | => No |
2018-03-20 13:07 | asiermartirena | Tag Attached: SER-QA | |
2018-03-20 13:13 | asiermartirena | Description Updated | View Revisions |
2018-03-20 13:31 | asiermartirena | Regression level | => Coding ( Testing ) |
2018-03-20 13:31 | asiermartirena | Regression date | => 2017-10-11 |
2018-03-20 13:31 | asiermartirena | Regression introduced in release | => RR18Q1 |
2018-03-20 13:31 | asiermartirena | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c903c081a0a [^] |
2018-03-20 14:01 | marvintm | Status | new => scheduled |
2018-03-21 07:26 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-03-21 18:50 | dmitry_mezentsev | Relationship added | caused by 0036974 |
2018-03-22 07:29 | hgbot | Checkin | |
2018-03-22 07:29 | hgbot | Note Added: 0103404 | |
2018-03-22 07:29 | hgbot | Status | scheduled => resolved |
2018-03-22 07:29 | hgbot | Resolution | open => fixed |
2018-03-22 07:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7fabb7fb5ed123ed5cb6d62c2378d48e0ff69bf5 [^] |
2018-03-22 09:43 | marvintm | Review Assigned To | => marvintm |
2018-03-22 09:43 | marvintm | Status | resolved => closed |
2018-03-22 09:43 | marvintm | Fixed in Version | => RR18Q2 |
Copyright © 2000 - 2009 MantisBT Group |