Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0037085 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Retail Modules] Web POS | major | always | 2017-10-17 11:31 | 2017-10-24 15:48 | |||||||
| Reporter | migueldejuana | View Status | public | |||||||||
| Assigned To | rqueralta | |||||||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||||||
| Status | scheduled | Fix in branch | Fixed in SCM revision | 53a9d26b0f96 | ||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| 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. | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0100033) hgbot (developer) 2017-10-24 15:48 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 53a9d26b0f969607eae768520ae6c5051174c27c Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu> Date: Mon Oct 23 14:02:25 2017 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/53a9d26b0f969607eae768520ae6c5051174c27c [^] Fixed issue 37085: Reverse Payment gives an js error wjen it needs an approval --- M web/org.openbravo.retail.posterminal/js/components/businesspartner_selector.js M web/org.openbravo.retail.posterminal/js/model/order.js --- |
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 | OBNetwork customer | => No |
| 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 |
| Copyright © 2000 - 2009 MantisBT Group |