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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043207
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformcriticalhave not tried2020-01-28 12:232020-02-13 12:06
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR19Q4.2
StatusclosedFix in branchFixed in SCM revisioncdb34cc7e8ee
ProjectionnoneETAnoneTarget Version3.0PR19Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043207: export to csv doesn't timeout

DescriptionHaving db.queryTimeout.grid configured, queries to generate CSV don't timeout.
Steps To Reproduce1. define db.queryTimeout.grid=1
2. export a csv that takes more than 1 sec to generate the query
Proposed SolutionApply db.queryTimeout.grid to csv export.

Note that ideally, UI should notify about this error.

Note DefaultJsonDataService.fetch(Map<String, String> parameters, QueryResultWriter writer) method is also used by JSON webservices.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0043029 closedalostale export to csv doesn't timeout 

-  Notes
(0117721)
hgbot (developer)
2020-02-13 09:37

Repository: erp/backports/3.0PR19Q4.2
Changeset: cdb34cc7e8ee8cb2fc503ff5546bdccee93443c4
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jan 28 13:25:57 2020 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q4.2/rev/cdb34cc7e8ee8cb2fc503ff5546bdccee93443c4 [^]

fixed BUG-43207: export to csv doesn't timeout

  Apply grid timeout to CSV export.

  Moved timeout profile setting to a more generic part, before it was
  applied only for the query to populate the grid, but it should be for
  every one.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
(0117729)
caristu (developer)
2020-02-13 12:06

Reviewed

- Issue History
Date Modified Username Field Change
2020-02-13 09:27 alostale Type defect => backport
2020-02-13 09:27 alostale Target Version => 3.0PR19Q4.2
2020-02-13 09:29 alostale Severity major => critical
2020-02-13 09:37 hgbot Checkin
2020-02-13 09:37 hgbot Note Added: 0117721
2020-02-13 09:37 hgbot Status scheduled => resolved
2020-02-13 09:37 hgbot Resolution open => fixed
2020-02-13 09:37 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/1d19e9db807746db520f34f622102f6b2f7a1249 [^] => http://code.openbravo.com/erp/backports/3.0PR19Q4.2/rev/cdb34cc7e8ee8cb2fc503ff5546bdccee93443c4 [^]
2020-02-13 12:06 caristu Note Added: 0117729
2020-02-13 12:06 caristu Status resolved => closed
2020-02-13 12:06 caristu Fixed in Version => 3.0PR19Q4.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker