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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031324
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2015-11-02 16:142016-01-13 11:20
ReporterguilleaerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision1dd451f752f5
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031324: Web POS crashes when a reload is done having loaded orders using "paid open tickets" functionality

DescriptionWeb POS crashes when a reload is done having loaded orders using "paid open tickets" functionality
Steps To Reproduce1. Create a layaway and save it without any payment
2. Create a layaway and save it without any payment
3. Open Menu
4. Select "pay open tickets"
5. In the popup select the layaways created in steps 1 and 2
6. press done and layaways will be ready to be paid
7. press f5 or reload
8. When the Web POS is loading an error is shown

OB.Dal: a success callback threw an exception; "function (){if(callback){callback();}}";
TypeError: Cannot read property 'isNegative' of undefined
    at Object.enyo.kind.checkValidCashOverpayment (http://localhost:8080/openbravo/web/js/gen/2b880881f09e85a11e5484f9990c00dc_WebPOS.js:1461:17 [^])
    at Object.enyo.kind.checkValidPayments (http://localhost:8080/openbravo/web/js/gen/2b880881f09e85a11e5484f9990c00dc_WebPOS.js:1462:575 [^])
    at Object.enyo.kind.buttonStatusChanged (http://localhost:8080/openbravo/web/js/gen/2b880881f09e85a11e5484f9990c00dc_WebPOS.js:1433:6 [^])

The only way to reload the app is clearing the cache
TagsNo tags attached.
Attached Filesdiff file icon issue31323.diff [^] (849 bytes) 2015-11-02 16:45 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031323 closedguilleaer Web POS crashes when a reload is done having loaded orders using "paid open tickets" functionality 

-  Notes
(0081669)
hgbot (developer)
2015-11-10 17:19

Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 1dd451f752f5b0d3521eff3c8d719cf29d9c8fff
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Nov 10 17:18:16 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/1dd451f752f5b0d3521eff3c8d719cf29d9c8fff [^]

fixed issue 31324: : Don't check payments if there are not payments to be checked

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0083228)
hgbot (developer)
2016-01-13 11:20

Repository: tools/automation/pi-mobile
Changeset: a05157a52a42d05f4b4bebcc7830de6b3a54876c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 12 13:05:10 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a05157a52a42d05f4b4bebcc7830de6b3a54876c [^]

Verifies issue 31324: Web POS crashes when a reload is done having loaded
orders using "paid open tickets" functionality

Added test I31324_POSCrashesAfterReload

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31324_POSCrashesAfterReload.java
---

- Issue History
Date Modified Username Field Change
2015-11-02 16:16 guilleaer Type defect => backport
2015-11-02 16:16 guilleaer Target Version => RR15Q4
2015-11-02 16:45 guilleaer File Added: issue31323.diff
2015-11-09 16:23 Orekaria Status scheduled => acknowledged
2015-11-10 17:19 hgbot Checkin
2015-11-10 17:19 hgbot Note Added: 0081669
2015-11-10 17:19 hgbot Status acknowledged => resolved
2015-11-10 17:19 hgbot Resolution open => fixed
2015-11-10 17:19 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/1dd451f752f5b0d3521eff3c8d719cf29d9c8fff [^]
2015-11-11 09:55 Orekaria Review Assigned To => Orekaria
2015-11-11 09:55 Orekaria Status resolved => closed
2015-11-11 09:55 Orekaria Fixed in Version => RR15Q4
2016-01-13 11:20 hgbot Checkin
2016-01-13 11:20 hgbot Note Added: 0083228


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker