Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043031Openbravo ERPA. Platformpublic2020-01-28 12:342022-02-01 08:07
alostale 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0043031: implement a timeout for CSV generation
After 0043029 is fixed, it is still possible to take too long to generate a CSV even the first query is fast enough not to timeout.

There should be a way to define a timeout for the whole CSV generation.

Note that as CSV is written on streaming, a partial CSV would be generated in this way. We should find a way to, at least, notify it in UI and probably write something also at the end of the CSV explaining it is partial.
1. Generate a CSV which takes long
Note DefaultJsonDataService.fetch(Map<String, String> parameters, QueryResultWriter writer) method is also used by JSON webservices.
Performance
depends on defect 0043029 closed alostale export to csv doesn't timeout 
Issue History
2020-01-28 12:34alostaleNew Issue
2020-01-28 12:34alostaleAssigned To => platform
2020-01-28 12:34alostaleModules => Core
2020-01-28 12:34alostaleTriggers an Emergency Pack => No
2020-01-28 12:34alostaleStatusnew => acknowledged
2020-01-28 12:34alostaleTag Attached: Performance
2020-01-28 12:34alostaleRelationship addeddepends on 0043029
2020-01-28 13:15alostaleProposed Solution updated
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.