Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036263Retail ModulesWeb POSpublic2017-06-16 11:292017-08-23 11:06
egoitz 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR17Q3 
mtaal
No
0036263: The queries related with a incremental refresh should be interrupted when the timeout for the request is reached
Right now when the request for the incremental request takes more than x seconds. the incremental refresh is interrupted.
The problem is that the query continue executing on the backend.
n/a
No tags attached.
related to defect 0034735 closed jorge-garcia incremental refresh is stopped if one masterdata query is very slow 
related to defect 0036698 closed migueldejuana [RR17Q3][StoreServer][HighVol] Searching for Layaways only one record is shown and it is "Undefined" 
depends on backport 0036338RR17Q2.2 closed migueldejuana The queries related with a incremental refresh should be interrupted when the timeout for the request is reached 
depends on backport 0036339RR17Q1.3 closed migueldejuana The queries related with a incremental refresh should be interrupted when the timeout for the request is reached 
Issue History
2017-06-16 11:29egoitzNew Issue
2017-06-16 11:29egoitzAssigned To => Retail
2017-06-16 11:29egoitzResolution time => 1498082400
2017-06-16 11:29egoitzTriggers an Emergency Pack => No
2017-06-16 11:30egoitzRelationship addedrelated to 0034735
2017-06-22 16:46migueldejuanaAssigned ToRetail => migueldejuana
2017-06-23 11:06hgbotCheckin
2017-06-23 11:06hgbotNote Added: 0097603
2017-06-23 11:06hgbotStatusnew => resolved
2017-06-23 11:06hgbotResolutionopen => fixed
2017-06-23 11:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8e1de9a5de5512cf6f606dc42b877ae971378688 [^]
2017-06-25 14:25mtaalReview Assigned To => mtaal
2017-06-25 14:25mtaalNote Added: 0097620
2017-06-25 14:25mtaalStatusresolved => closed
2017-06-25 14:25mtaalFixed in Version => RR17Q3
2017-06-26 15:44marvintmStatusclosed => new
2017-06-26 15:44marvintmResolutionfixed => open
2017-06-26 15:44marvintmFixed in VersionRR17Q3 =>
2017-06-26 15:44marvintmStatusnew => scheduled
2017-06-26 15:44marvintmStatusscheduled => resolved
2017-06-26 15:44marvintmFixed in Version => RR17Q3
2017-06-26 15:44marvintmResolutionopen => fixed
2017-06-26 15:44marvintmStatusresolved => closed
2017-08-23 11:06AugustoMauchRelationship addedrelated to 0036698

Notes
(0097603)
hgbot   
2017-06-23 11:06   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8e1de9a5de5512cf6f606dc42b877ae971378688
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jun 22 15:00:51 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8e1de9a5de5512cf6f606dc42b877ae971378688 [^]

Fixed issue 0036263: The queries related with a incremental refresh should be interrupted when the timeout for the request is reached

- Send timeout to backend
- Set timeout to query

---
M src/org/openbravo/mobile/core/process/ProcessHQLQuery.java
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0097620)
mtaal   
2017-06-25 14:25   
tested that the timeout was set into the jdbc statement, this worked. Was not able to test the actual time out as I wasn't sure how to block the jdbc statement. But trusting the jdbc implementation, also the timeout passed in is the same as used on the client anyway.