| Summary: | Text encoding is lost in serveResources | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Martin Weiler <mweiler> |
| Component: | Portal | Assignee: | Matt Wringe <mwringe> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.1.GA | CC: | epp-bugs, jmorgan, mweiler |
| Target Milestone: | --- | ||
| Target Release: | 5.2.1.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1376 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
It was discovered that when content was served from a portlet, the resource encoding was being rewritten with the default encoding of the running JVM. To work around the issue, users had to serve the resource as a binary, or set the system encoding to ISO-8859-1. The fix implements improved resource handling, which honors the mime type encoding when outputting byte array data.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-07 15:48:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Martin Weiler
2011-11-18 12:06:53 UTC
Link: Added: This issue depends GTNPC-78 Tentatively set for 5.2.1 Release Notes Docs Status: Added: Not Yet Documented Release Notes Text: Added: When serving content from a portlet, the encoding of the resource gets rewrote with the default encoding of the running JVM Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Known Issue Release Notes Text: Removed: When serving content from a portlet, the encoding of the resource gets rewrote with the default encoding of the running JVM Added: When serving content from a portlet, resource encoding is being rewritten with the default encoding of the running JVM. To work around the issue, server the resource as a binary, or set the default system encoding to ISO-8859-1. Issue has now been fixed in EPP svn repository and will appear in the next version. Please note that there are a couple of issues with the example application attached to this jira, so the example application may not work as expected. Release Notes Docs Status: Removed: Documented as Known Issue Added: Not Yet Documented Release Notes Text: Removed: When serving content from a portlet, resource encoding is being rewritten with the default encoding of the running JVM. To work around the issue, server the resource as a binary, or set the default system encoding to ISO-8859-1. Added: Updated the portlet resource handling to take into consideration the encoding of the mime type when outputting byte array data.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
It was discovered that when content was served from a portlet, the resource encoding was being rewritten with the default encoding of the running JVM. To work around the issue, users had to serve the resource as a binary, or set the system encoding to ISO-8859-1. The fix implements improved resource handling, which honors the mime type encoding when outputting byte array data.
|