Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028463 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Cash up | minor | always | 2014-12-22 09:44 | 2015-01-09 07:43 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | aaroncalero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 19f667db7e5c | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Orekaria | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028463: If a payment is not found on the paymentmethodcashup table, the cashup-model.init II process times out | |||||||
Description | 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. | |||||||
Steps To Reproduce | 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 | |||||||
Proposed Solution | 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0073316) hgbot (developer) 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 (viewer) 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 (developer) 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 --- |
![]() |
|||
Date Modified | Username | Field | Change |
2014-12-22 09:44 | aaroncalero | New Issue | |
2014-12-22 09:44 | aaroncalero | Assigned To | => aaroncalero |
2014-12-22 09:44 | aaroncalero | OBNetwork customer | => No |
2014-12-22 09:44 | aaroncalero | Triggers an Emergency Pack | => No |
2015-01-05 17:46 | hgbot | Checkin | |
2015-01-05 17:46 | hgbot | Note Added: 0073316 | |
2015-01-05 17:46 | hgbot | Status | new => resolved |
2015-01-05 17:46 | hgbot | Resolution | open => fixed |
2015-01-05 17:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70b31c08e552dc16571134e7669b0e45d8d36677 [^] |
2015-01-08 17:42 | Orekaria | Note Added: 0073378 | |
2015-01-08 17:42 | Orekaria | Status | resolved => new |
2015-01-08 17:42 | Orekaria | Resolution | fixed => open |
2015-01-08 18:09 | hgbot | Checkin | |
2015-01-08 18:09 | hgbot | Note Added: 0073380 | |
2015-01-08 18:09 | hgbot | Status | new => resolved |
2015-01-08 18:09 | hgbot | Resolution | open => fixed |
2015-01-08 18:09 | hgbot | Fixed in SCM revision | http://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:43 | Orekaria | Review Assigned To | => Orekaria |
2015-01-09 07:43 | Orekaria | Status | resolved => closed |
2015-01-09 07:43 | Orekaria | Fixed in Version | => pi |
Copyright © 2000 - 2009 MantisBT Group |