Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA
-
Fix Version/s: 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Support Case References:Support Case #13396 - https://icesoft.my.salesforce.com/50070000019GsOp
-
Affects:Compatibility/Configuration
-
Workaround Exists:Yes
-
Workaround Description:
Description
Two issues have been found with the ace:dynamicResource component. These issues can be reproduced/demonstrated with the Showcase demo.
Issue #1: Setting the fileName attribute has no effect on the resulting file. For example the Showcase demo uses fileName="icemobile.pdf". The resulting file is 7c8f5d0a.jsf.
Issue #2: Somewhat related to above, when downloading the file it has a .jsf file extension added to the resource. In some cases this can cause issues as it is a PDF file and not a JSF page. It seems like the resource is being processed by the Faces Servlet as a page and not a file.
Issue #1: Setting the fileName attribute has no effect on the resulting file. For example the Showcase demo uses fileName="icemobile.pdf". The resulting file is 7c8f5d0a.jsf.
Issue #2: Somewhat related to above, when downloading the file it has a .jsf file extension added to the resource. In some cases this can cause issues as it is a PDF file and not a JSF page. It seems like the resource is being processed by the Faces Servlet as a page and not a file.
Activity
Arran Mccullough
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 4.1 [ 11375 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Assignee Priority | P1 [ 10010 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #44971 | Thu Jun 04 14:20:08 MDT 2015 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dynamicresource/DynamicResourceMeta.java
MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dynamicresource/DynamicResource.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #44972 | Thu Jun 04 14:24:22 MDT 2015 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dynamicResource/dynamicResource.xhtml
MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dynamicResource/dynamicResourceAdvanced.xhtml |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Affects | Compatibility/Configuration [ 10002 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I do have a sample that shows these issues as well if the Showcase demo is not enough.