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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028463
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash upminoralways2014-12-22 09:442015-01-09 07:43
ReporteraaroncaleroView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision19f667db7e5c
ProjectionnoneETAnoneTarget Version
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

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

DescriptionIf 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 ReproduceLogin 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 SolutionDuring 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (administrator)
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
---

- Issue History
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 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
Powered by Mantis Bugtracker