Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027908Retail ModulesWeb POSpublic2014-10-17 17:192014-10-31 12:28
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR14Q4 
marvintm
No
0027908: Disable the timeout of the SynchronizationHelper
Disable the timeout of the SynchronizationHelper

In very lasting asynchronous calls the timeout will be triggered when it shouldn't provoking some buttons to be available and the incremental refresh to be triggered before it should

The timeout was introduced to be sure that unproperly or unbalanced calls to the SynchronizationHelper were not blocking the buttons that depends on it
Create a long async call
Verify in the console that the SynchronizationHelper is reporting that call as failing
No tags attached.
depends on feature request 0026894RR14Q4 closed Orekaria Stabilization: Improve the synchronization management 
Issue History
2014-10-17 17:19OrekariaNew Issue
2014-10-17 17:19OrekariaAssigned To => Orekaria
2014-10-17 17:19OrekariaTriggers an Emergency Pack => No
2014-10-17 17:21OrekariaRelationship addeddepends on 0026894
2014-10-17 18:09OrekariaDescription Updatedbug_revision_view_page.php?rev_id=6839#r6839
2014-10-22 10:59hgbotCheckin
2014-10-22 10:59hgbotNote Added: 0071116
2014-10-22 10:59hgbotStatusnew => resolved
2014-10-22 10:59hgbotResolutionopen => fixed
2014-10-22 10:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c50771f52e8d03570527a78767455f29b4df97c8 [^]
2014-10-31 12:28marvintmReview Assigned To => marvintm
2014-10-31 12:28marvintmStatusresolved => closed
2014-10-31 12:28marvintmFixed in Version => RR14Q4

Notes
(0071116)
hgbot   
2014-10-22 10:59   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c50771f52e8d03570527a78767455f29b4df97c8
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Oct 22 10:58:16 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c50771f52e8d03570527a78767455f29b4df97c8 [^]

Fixes issue 27908: The timeout of the SynchronizationHelper is deactivated while in production
- 'isTimeoutThresholdActivated' can be used to activate it
- the timeout is activated while in development to help catching unbalanced calls and/or adjust the timeout

---
M web/org.openbravo.mobile.core/source/utils/ob-synchronization.js
---