Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035020
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Sessionsmajoralways2017-01-17 18:172017-01-26 09:19
ReporterguillermogilView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision6093ddc478d3
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035020: If you have a payment method Cash without Count Cash fails on login

DescriptionIf 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

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034985 closedjorge-garcia If you have a payment method Cash without Count Cash fails on login 

-  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
Powered by Mantis Bugtracker