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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034985
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Sessionsmajoralways2017-01-17 18:172017-01-26 09:19
ReporterguillermogilView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revision4350c41e4516
ProjectionnoneETAnoneTarget Version
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

0034985: 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 ]
depends on backport 0035020RR17Q1 closedjorge-garcia If you have a payment method Cash without Count Cash fails on login 

-  Notes
(0093756)
hgbot (developer)
2017-01-20 11:50

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4350c41e4516ae528a259cbd04e225b2d08b57d1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jan 19 11:32:11 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4350c41e4516ae528a259cbd04e225b2d08b57d1 [^]

Fixed issue 34985: 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
---
(0093830)
hgbot (developer)
2017-01-25 20:23

Repository: tools/automation/pi-mobile
Changeset: b171c997ec54139ff0b8fac5da85011adf202c4d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Jan 25 20:23:25 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b171c997ec54139ff0b8fac5da85011adf202c4d [^]

Verifies issue 34985: If you have a payment method Cash without Count Cash fails
on login

Added test I34985_InitCashUpWithoutCache

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/I34985_InitCashUpWithoutCache.java
---

- Issue History
Date Modified Username Field Change
2017-01-17 18:17 guillermogil New Issue
2017-01-17 18:17 guillermogil Assigned To => Retail
2017-01-17 18:17 guillermogil Resolution time => 1486422000
2017-01-17 18:17 guillermogil Triggers an Emergency Pack => No
2017-01-17 18:21 guillermogil Description Updated View Revisions
2017-01-18 11:02 guillermogil Description Updated View Revisions
2017-01-18 11:02 guillermogil Steps to Reproduce Updated View Revisions
2017-01-18 11:11 guillermogil Steps to Reproduce Updated View Revisions
2017-01-18 12:54 jorge-garcia Status new => scheduled
2017-01-18 12:54 jorge-garcia Assigned To Retail => jorge-garcia
2017-01-20 11:47 jorge-garcia Status scheduled => acknowledged
2017-01-20 11:47 jorge-garcia Status acknowledged => scheduled
2017-01-20 11:50 hgbot Checkin
2017-01-20 11:50 hgbot Note Added: 0093756
2017-01-20 11:50 hgbot Status scheduled => resolved
2017-01-20 11:50 hgbot Resolution open => fixed
2017-01-20 11:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4350c41e4516ae528a259cbd04e225b2d08b57d1 [^]
2017-01-25 20:23 hgbot Checkin
2017-01-25 20:23 hgbot Note Added: 0093830
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 => RR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker