Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta2
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
Description
As described in ICE-7381, the ExportResource class had to be modified to retain the byte arrays of the files generated by ace:dataExporter. Previously, the Resource object only contained a reference to an input stream, which was was request-scoped. So, in cases when the file download failed at the first try, the data wasn't available after subsequent tries, and the downloaded file had no data. To improve this situation, the ExportResource class will have to be modified to re-invoke the generator to produce a new input stream to serve the file, without having to keep the bytes in memory.
Issue Links
- depends on
-
ICE-7381 ace:dataExporter, avoid serving file by hijacking the faces response
- Closed
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Fix Version/s | EE-3.0.0.GA [ 10262 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28143 | Fri Mar 02 17:09:21 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/dataexporter/dataexporter.js
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/ExporterResource.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28142 | Fri Mar 02 17:04:21 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/ExporterResource.java
MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/dataexporter/dataexporter.js |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1.1 [ 10282 ] |
Arturo Zambrano
made changes -
Assignee | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Arturo Zambrano
created issue -
This fix wouldn't be applicable to ice.dataExporter, since with said component the generated files are first written to disk and then served as resources. They do not stay in memory.