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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043206
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.0PR20Q1
StatusclosedFix in branchFixed in SCM revision09ba2d7b1341
ProjectionnoneETAnoneTarget Version3.0PR20Q1
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

0043206: 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
(0117722)
hgbot (developer)
2020-02-13 09:39

Repository: erp/backports/3.0PR20Q1
Changeset: 09ba2d7b1341a4738f0bf691619fa34ec7298735
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.0PR20Q1/rev/09ba2d7b1341a4738f0bf691619fa34ec7298735 [^]

fixed BUG-43206: 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
---
(0117728)
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.0PR20Q1
2020-02-13 09:29 alostale Severity major => critical
2020-02-13 09:39 hgbot Checkin
2020-02-13 09:39 hgbot Note Added: 0117722
2020-02-13 09:39 hgbot Status scheduled => resolved
2020-02-13 09:39 hgbot Resolution open => fixed
2020-02-13 09:39 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/1d19e9db807746db520f34f622102f6b2f7a1249 [^] => http://code.openbravo.com/erp/backports/3.0PR20Q1/rev/09ba2d7b1341a4738f0bf691619fa34ec7298735 [^]
2020-02-13 12:06 caristu Note Added: 0117728
2020-02-13 12:06 caristu Status resolved => closed
2020-02-13 12:06 caristu Fixed in Version => 3.0PR20Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker