Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031005Retail ModulesWeb POSpublic2015-10-01 12:292016-04-26 11:38
migueldejuana 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR16Q1RR16Q1 
Orekaria
No
0031005: runSyncProcess callback is not executed if last model has no data to synch
Now, it is working fine for Retail pack. We have 5 models and the last model is Cashup and Cashup always have data to synchronize. When running runSyncProcess, we go throw all models and after the last one we execute a callback.
If the last model has no data to synch, callback will not be executed. For example, if we develop something to avoid Cashup sending redundant information, this model will not hava info to send and callback will not be launched. Another example, a module adds a model an running runSyncProcess this model has no data to send, callback will not be executed.
- Add an example model throw a module
- Login
- Debug runSyncProcess method
- Create an order
- ERROR: You will see that callback is not executed.
No tags attached.
related to defect 0030958RR16Q3 closed migueldejuana Success callbacks in the RunSyncProcess are sometimes not executed even if the process finished successfully 
blocks defect 0031004RR16Q3 closed migueldejuana A red icon indicating data not synchronised is shown even if nothing needs to be synchronised 
Issue History
2015-10-01 12:29migueldejuanaNew Issue
2015-10-01 12:29migueldejuanaAssigned To => Retail
2015-10-01 12:29migueldejuanaTriggers an Emergency Pack => No
2015-10-26 14:45migueldejuanaRelationship addedblocks 0031004
2015-12-04 13:54OrekariaStatusnew => scheduled
2015-12-04 13:54OrekariaAssigned ToRetail => jorge-garcia
2015-12-18 14:24hgbotCheckin
2015-12-18 14:24hgbotNote Added: 0082870
2015-12-28 12:52jorge-garciaStatusscheduled => resolved
2015-12-28 12:52jorge-garciaFixed in Version => RR16Q1
2015-12-28 12:52jorge-garciaResolutionopen => fixed
2015-12-28 12:52OrekariaReview Assigned To => Orekaria
2015-12-28 12:52OrekariaStatusresolved => closed
2016-04-26 11:38migueldejuanaRelationship addedrelated to 0030958

Notes
(0082870)
hgbot   
2015-12-18 14:24   
Repository: tools/automation/pi-mobile
Changeset: 88c4da7613564d5d2812d203722ce227dd519f79
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Dec 15 11:54:57 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/88c4da7613564d5d2812d203722ce227dd519f79 [^]

Verifies issue 31005: runSyncProcess callback is not executed if last model has
no data to synch

Added Test I31539_ProductsNotInAssorment_Remote

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31005_LastSyncProcessmodelDontExecuteCallback.java
---