Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.1
-
Fix Version/s: EE-3.2.0.BETA, EE-3.2.0.GA, 3.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Test and Production
-
ICEsoft Forum Reference:
Description
The download of file streams doesn't work if there are special characters within the filename.
If in this example the returned fileName property contains a german Umlaut, the download fails.
<ice:outputResource disabled="#{!ReportBean.outputEnabled}" resource="#{ReportBean.printReport}" label="#{reportlbl.ReportPrintBtn}" type="button" fileName="#{ReportBean.outputFile}" mimeType="#{ReportBean.mimeType}" attachment="#{ReportBean.attachment}" shared="false" target="_self" title="#{reportlbl.ReportPrintTooltip}" />
Experienced at least with actual Chrome Browser.
If in this example the returned fileName property contains a german Umlaut, the download fails.
<ice:outputResource disabled="#{!ReportBean.outputEnabled}" resource="#{ReportBean.printReport}" label="#{reportlbl.ReportPrintBtn}" type="button" fileName="#{ReportBean.outputFile}" mimeType="#{ReportBean.mimeType}" attachment="#{ReportBean.attachment}" shared="false" target="_self" title="#{reportlbl.ReportPrintTooltip}" />
Experienced at least with actual Chrome Browser.
Nothing wrong with output resource component. The problems are all in the core resource dispatcher.
The key isn't used in the look-up at all. The whole map is iterated through and some regular expression is used in the mapping. (Then why used a key at all? Might as well have used an array-like data structure?)
Three problems when redoing resource dispatcher from ICEfaces 1.8:
All fixed. See under the Subversion tab of this JIRA for check-in details.