Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028463Retail ModulesCash uppublic2014-12-22 09:442015-01-09 07:43
aaroncalero 
aaroncalero 
normalminoralways
closedfixed 
5
 
pi 
Orekaria
No
0028463: If a payment is not found on the paymentmethodcashup table, the cashup-model.init II process times out
If a payment is not found on the paymentmethodcashup table (the table has been manually deleted or the table initialization process has failed), the cashup-model.init II process times out instead of skipping the missing payment method.
Login to the WebPOS.
Remove all local data from the paymentmethodcashup table (delete from paymentmethodcashup).
Start the cashup process
The following error will appear on the browser console:
SynchronizationHelper timeout reached: This process(s) didn't finish: (88) cashup-model.init II
During the cashup initialization process, if a payment is not found in the local database, it is ignored and the function returns, but there is no call to the SynchronizationHelper telling that the cashup-model.init II process has finished.
We need to add a call to OB.UTIL.SynchronizationHelper.finished(synchId, 'cashup-model.init II') to prevent timeouts.
No tags attached.
Issue History
2014-12-22 09:44aaroncaleroNew Issue
2014-12-22 09:44aaroncaleroAssigned To => aaroncalero
2014-12-22 09:44aaroncaleroTriggers an Emergency Pack => No
2015-01-05 17:46hgbotCheckin
2015-01-05 17:46hgbotNote Added: 0073316
2015-01-05 17:46hgbotStatusnew => resolved
2015-01-05 17:46hgbotResolutionopen => fixed
2015-01-05 17:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70b31c08e552dc16571134e7669b0e45d8d36677 [^]
2015-01-08 17:42OrekariaNote Added: 0073378
2015-01-08 17:42OrekariaStatusresolved => new
2015-01-08 17:42OrekariaResolutionfixed => open
2015-01-08 18:09hgbotCheckin
2015-01-08 18:09hgbotNote Added: 0073380
2015-01-08 18:09hgbotStatusnew => resolved
2015-01-08 18:09hgbotResolutionopen => fixed
2015-01-08 18:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70b31c08e552dc16571134e7669b0e45d8d36677 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/19f667db7e5c911eafb4ac9dbb624c884b210f70 [^]
2015-01-09 07:43OrekariaReview Assigned To => Orekaria
2015-01-09 07:43OrekariaStatusresolved => closed
2015-01-09 07:43OrekariaFixed in Version => pi

Notes
(0073316)
hgbot   
2015-01-05 17:46   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 70b31c08e552dc16571134e7669b0e45d8d36677
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Jan 05 17:44:57 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70b31c08e552dc16571134e7669b0e45d8d36677 [^]

Fixed issue 28463: If a payment is not found on the paymentmethodcashup table, the cashup-model.init II process times out

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---
(0073378)
Orekaria   
2015-01-08 17:42   
The SynchronizationHelper calls about 'cashup-model.init II' can be removed because no asynchronous process is involved in it
(0073380)
hgbot   
2015-01-08 18:09   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 19f667db7e5c911eafb4ac9dbb624c884b210f70
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Thu Jan 08 18:06:01 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/19f667db7e5c911eafb4ac9dbb624c884b210f70 [^]

Fixed issue 28463: If a payment is not found on the paymentmethodcashup table, the cashup-model.init II process times out

Removed all ocurrences of 'cashup-model.init II' because there are no asynchronous tasks on the process

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---