Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037085 | Retail Modules | Web POS | public | 2017-10-17 11:31 | 2017-10-24 15:48 |
Reporter | migueldejuana | ||||
Assigned To | rqueralta | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | scheduled | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037085: Reverse Payment gives an js error wjen it needs an approval | ||||
Description | Reverse Payment gives an js error. The problem is that we are using " OB.MobileApp.view.$.containerWindow.$.pointOfSale" and if we navigate this component could be undefined because a " OB.MobileApp.view.$.containerWindow.$.pointOfSale2" component will be created. | ||||
Steps To Reproduce | - Login Web POS - Create a Layaway with 10€ payment - Load this layaway - Ensure that OB.MobileApp.view.$.containerWindow.$.pointOfSale has value - Navigate to Cashup partial - Go back to pointofsale window - Ensure that OB.MobileApp.view.$.containerWindow.$.pointOfSale is undefined - Go to payments of the layaway and press on the arrow of the payment (Ensure before that the approval is required: (usedPaymentMethod.availableReverseDelay === null || (currentDate.getTime() - usedPaymentMethod.availableReverseDelay * 86400000) <= (new Date(payment.get('paymentDate')).getTime())) === false) - Error: The icon shows Loading image continuosly and we get js error. | ||||
Proposed Solution | Replace in the code all references to: OB.MobileApp.view.$.containerWindow.$.pointOfSale by: OB.MobileApp.view.$.containerWindow.getRoot() There are at least 2 lines in the code to be replaced. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-10-17 11:31 | migueldejuana | New Issue | |||
2017-10-17 11:31 | migueldejuana | Assigned To | => Retail | ||
2017-10-17 11:31 | migueldejuana | Triggers an Emergency Pack | => No | ||
2017-10-23 18:22 | rqueralta | Assigned To | Retail => rqueralta | ||
2017-10-24 15:48 | hgbot | Checkin | |||
2017-10-24 15:48 | hgbot | Note Added: 0100033 | |||
2017-10-24 15:48 | hgbot | Status | new => resolved | ||
2017-10-24 15:48 | hgbot | Resolution | open => fixed | ||
2017-10-24 15:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/53a9d26b0f969607eae768520ae6c5051174c27c [^] | ||
2017-10-24 15:48 | rqueralta | Status | resolved => scheduled |
Notes | |||||
|
|||||
|
|