Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035020 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Sessions | major | always | 2017-01-17 18:17 | 2017-01-26 09:19 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6093ddc478d3 | ||||
Projection | none | ETA | none | Target Version | RR17Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035020: If you have a payment method Cash without Count Cash fails on login | |||||||
Description | If you have a payment method Cash without Count Cash fails on login. The following error raises: 0882da3…_WebPOS.js:32832 Uncaught TypeError: Cannot read property 'set' of undefined at Object.OB.UTIL.composeCashupInfo (0882da3…_WebPOS.js:32832) at 0882da3…_WebPOS.js:69379 at processResult (0882da3…_WebPOS.js:4177) | |||||||
Steps To Reproduce | - Do a Cash Up - Close the Store - Go to Cash Payment Method and set Count Cash to "N" - Open the Store on the Backend - Clear the cache - Login on WebPOS The error raises | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0093757) hgbot (developer) 2017-01-20 11:55 |
Repository: retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal Changeset: 6093ddc478d3b9829ac66ad76845bc0940f8a37b Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Jan 20 11:53:04 2017 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/6093ddc478d3b9829ac66ad76845bc0940f8a37b [^] Fixed issue 35020: If you have a payment method Cash without Count Cash fails on login The solution is to execute sequentially the process of the creation of the cashUp. Now the execution of the hooks is done after the cashup is created and the current cash is calculated. Remove a callback parameter from initCashUp that overrides the original callback. --- M web/org.openbravo.retail.posterminal/js/login/model/login-model.js M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2017-01-20 11:47 | jorge-garcia | Type | defect => backport |
2017-01-20 11:47 | jorge-garcia | Target Version | => RR17Q1 |
2017-01-20 11:55 | hgbot | Checkin | |
2017-01-20 11:55 | hgbot | Note Added: 0093757 | |
2017-01-20 11:55 | hgbot | Status | scheduled => resolved |
2017-01-20 11:55 | hgbot | Resolution | open => fixed |
2017-01-20 11:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/6093ddc478d3b9829ac66ad76845bc0940f8a37b [^] |
2017-01-26 09:19 | marvintm | Review Assigned To | => marvintm |
2017-01-26 09:19 | marvintm | Status | resolved => closed |
2017-01-26 09:19 | marvintm | Fixed in Version | => RR17Q1 |
Copyright © 2000 - 2009 MantisBT Group |