Bug 1272137

Summary: Can't view bug with malformed UTF8 in comments
Product: [Community] Bugzilla Reporter: James Boyle <unixi>
Component: User InterfaceAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Rony Gong 🔥 <qgong>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.4CC: bcl, jmcdonal, mtahir, qgong, sbueno
Target Milestone: 4.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-21 06:27:25 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:
Embargoed:
Attachments:
Description Flags
virt-manager.log that has the offending product string none

Description James Boyle 2015-10-15 14:39:33 UTC
Description of problem:
I was trying to submit a bug related to libvirt and virt-manager.  A USB KVM device our company uses has a product description with malformed UTF characters.  When pasting the virt-manager.log output, which contains the offending string, bugzilla also crashes (500 Internal Server Error).

Version-Release number of selected component (if applicable):
The current version of bugzilla in use by RedHat


How reproducible:
100%

Steps to Reproduce:
1.  Include the USB product description from the attached file.  click submit.  

Actual results:
500 Internal Server Error.  Could not submit bug with the offending text in the Description field.

Expected results:
Should be able to submit the bug


Additional info:
see bugs 1272125 and 1272121

Comment 1 James Boyle 2015-10-15 14:40:50 UTC
Created attachment 1083297 [details]
virt-manager.log that has the offending product string

i think this bug may have forked into two like my previous failed submission attempt.  Neat-o.

Comment 2 Rony Gong 🔥 2015-10-16 01:39:32 UTC
This bug also exist in upstream 5.0 and also exist in Bugzill which based on mysql.

undef error - Malformed UTF-8 character (fatal) at /var/www/html/bugzilla/Bugzilla/Util.pm line 81.

Comment 5 Jeff Fearn 🐞 2015-10-19 01:06:25 UTC
The bug gets submitted, it can't be viewed though.

Comment 6 Jeff Fearn 🐞 2015-10-19 03:25:46 UTC
*** Bug 1272685 has been marked as a duplicate of this bug. ***

Comment 9 Muhammad Tahir 2015-10-21 06:25:17 UTC
*** Bug 1272133 has been marked as a duplicate of this bug. ***