Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031323Retail ModulesWeb POSpublic2015-11-02 16:142015-11-20 12:50
guilleaer 
guilleaer 
normalmajoralways
closedfixed 
5
 
RR16Q1 
marvintm
No
0031323: Web POS crashes when a reload is done having loaded orders using "paid open tickets" functionality
Web POS crashes when a reload is done having loaded orders using "paid open tickets" functionality
1. 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
No tags attached.
depends on backport 0031324RR15Q4 closed Retail Web POS crashes when a reload is done having loaded orders using "paid open tickets" functionality 
depends on backport 0031325RR15Q3.3 closed guilleaer Web POS crashes when a reload is done having loaded orders using "paid open tickets" functionality 
diff issue31323.diff (849) 2015-11-02 16:44
https://issues.openbravo.com/file_download.php?file_id=8675&type=bug
Issue History
2015-11-02 16:14guilleaerNew Issue
2015-11-02 16:14guilleaerAssigned To => Retail
2015-11-02 16:14guilleaerTriggers an Emergency Pack => No
2015-11-02 16:16guilleaerStatusnew => scheduled
2015-11-02 16:44guilleaerFile Added: issue31323.diff
2015-11-04 09:03hgbotCheckin
2015-11-04 09:03hgbotNote Added: 0081460
2015-11-04 09:03hgbotStatusscheduled => resolved
2015-11-04 09:03hgbotResolutionopen => fixed
2015-11-04 09:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e15a9adcf352020314d63266874dd3ce78276239 [^]
2015-11-09 13:19OrekariaAssigned ToRetail => guilleaer
2015-11-09 13:19OrekariaReview Assigned To => guilleaer
2015-11-11 09:54OrekariaReview Assigned Toguilleaer => Orekaria
2015-11-11 09:54OrekariaStatusresolved => closed
2015-11-11 09:54OrekariaFixed in Version => RR16Q1
2015-11-16 15:25hgbotCheckin
2015-11-16 15:25hgbotNote Added: 0081891
2015-11-20 12:50OrekariaReview Assigned ToOrekaria => marvintm

Notes
(0081460)
hgbot   
2015-11-04 09:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e15a9adcf352020314d63266874dd3ce78276239
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Nov 03 22:03:13 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e15a9adcf352020314d63266874dd3ce78276239 [^]

Fixed issue 31323: Don't check payments if there is not information about payments

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0081891)
hgbot   
2015-11-16 15:25   
Repository: tools/automation/pi-mobile
Changeset: 3fdd53d15aaa210a9aebabe333efbd71951e8bba
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon Nov 16 08:25:09 2015 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3fdd53d15aaa210a9aebabe333efbd71951e8bba [^]

Verifies issue 31323: Added automated test

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