Bug 724497 (BRMS-443)

Summary: Error displaying feed if it contains non ISO 8859-1 characters
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 5.1.0.ER3   
Target Milestone: ---   
Target Release: 5.1.0.ER4   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-443
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-24 09:18:23 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:
Attachments:
Description Flags
feed_error.png
none
server.log none

Description Jiri Locker 2010-11-16 17:44:05 UTC
securitylevel_name: Public

2010-11-16 18:08:37,634 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jboss-brms].[FeedServlet]] (http-127.0.0.1-8080-4) Servlet.service() for servlet FeedServlet threw exception
java.io.CharConversionException: Not an ISO 8859-1 character: α
	at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:89)
	at org.drools.guvnor.server.files.FeedServlet.doDiscussionFeed(FeedServlet.java:96)

To reproduce just open any asset, add a comment to its discussion and use some non ISO 8859-1 characters (e.g. greek α) and try displaying the asset's feed.

Comment 1 Jiri Locker 2010-11-16 17:46:38 UTC
Attachment: Added: feed_error.png
Attachment: Added: server.log


Comment 2 Jiri Locker 2010-11-16 17:51:55 UTC
Link: Added: This issue related BRMS-426


Comment 3 Jiri Locker 2010-11-16 17:54:29 UTC
Link: Added: This issue is a dependency of JBQA-3766


Comment 4 Tihomir Surdilovic 2010-11-18 19:55:43 UTC
I believe this will only happen in Linux env. I cannot reproduce on Mac/Win. Either way, should be fixed with addition to UTF-8 encoding definition on the content type. Please re-test in ER4.

Comment 5 Tihomir Surdilovic 2010-11-18 20:05:05 UTC
Link: Added: This issue is a dependency of GUVNOR-1100


Comment 6 Tihomir Surdilovic 2010-11-18 20:05:47 UTC
Done