Bug 1015331

Summary: [ja_JP][zh_CN][Reports Portal] Non-ASCII characters are displayed in reports
Product: Red Hat Enterprise Virtualization Manager Reporter: Yuko Katabami <ykatabam>
Component: ovirt-engine-reportsAssignee: Yaniv Lavi <ylavi>
Status: CLOSED NOTABUG QA Contact: Barak Dagan <bdagan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aberezin, acathrow, eng-i18n-bugs, iheim, pstehlik, qe-i18n-bugs, Rhev-m-bugs, yeylon, ykatabam, ylavi
Target Milestone: ---Keywords: i18n, Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 07:17:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Active Entities by OS (BR18A) with Non ASCII characters
none
Active Virtual Machines by OS (BR18) with non ASCII characters
none
Active Entities by OS (BR18A) with Non ASCII characters
none
Garbled test in Dashboard
none
Fixed after language support installation (ja-JP)
none
Fixed after language support installation (zh_CN) none

Description Yuko Katabami 2013-10-03 23:30:14 UTC
Created attachment 807319 [details]
Active Entities by OS (BR18A) with Non ASCII characters

Description of problem:
Non-ASCII characters (small rectangles) are displayed instead of normal text in reports

Version-Release number of selected component (if applicable): 3.3.0-10


How reproducible: 100%


Steps to Reproduce:
1. Click View => Search Results
2. Select a report (I used "Active Entities by OS (BR18A)" and "Active Virtual Machines by OS (BR18)")
3. Right click it and select "Run"

Actual results:
Generated reports contain small rectangle characters

Expected results:
It should be displayed with normal and readable characters

Additional info:
Screenshots attached

Comment 1 Yuko Katabami 2013-10-03 23:31:18 UTC
Created attachment 807320 [details]
Active Virtual Machines by OS (BR18) with non ASCII characters

Comment 2 Yuko Katabami 2013-10-03 23:42:56 UTC
Created attachment 807321 [details]
Active Entities by OS (BR18A) with Non ASCII characters

Comment 3 Yuko Katabami 2013-10-03 23:51:04 UTC
Confirmed that zh_CN has the same problem.

Comment 4 Yuko Katabami 2013-10-04 05:47:11 UTC
Created attachment 807414 [details]
Garbled test in Dashboard

Found garbled text in a Dashboard (Cluster Dashboard) as well.

Comment 5 Yaniv Lavi 2013-10-06 09:01:37 UTC
Did you install fonts for the  langs you need on the testing server?



Yaniv

Comment 6 Yuko Katabami 2013-10-06 09:39:52 UTC
(In reply to Yaniv Dary from comment #5)
> Did you install fonts for the  langs you need on the testing server?
> 
> 
> 
> Yaniv

Hi Yaniv,

I did not custom install fonts on my VM which you fixed the rehvm-reports install for me, but I have no issue displaying fonts (in all 6 locales) for Admin/User Portals. 

I am not sure if the test environment provided by Kiril and Ohad has the fonts custom installed, but the problems are the same - only Reports Portal have this issue. Admin/User Portals are fine.

Yuko

Comment 7 Yaniv Lavi 2013-10-06 09:43:24 UTC
(In reply to Yuko Katabami from comment #6)
> (In reply to Yaniv Dary from comment #5)
> > Did you install fonts for the  langs you need on the testing server?
> > 
> > 
> > 
> > Yaniv
> 
> Hi Yaniv,
> 
> I did not custom install fonts on my VM which you fixed the rehvm-reports
> install for me, but I have no issue displaying fonts (in all 6 locales) for
> Admin/User Portals. 
> 
> I am not sure if the test environment provided by Kiril and Ohad has the
> fonts custom installed, but the problems are the same - only Reports Portal
> have this issue. Admin/User Portals are fine.
> 
> Yuko

You have to install fonts for charts, since they are generated on the server side. Please do this reboot the machine and report back.

Comment 8 Yuko Katabami 2013-10-07 23:21:52 UTC
(In reply to Yaniv Dary from comment #7)
> (In reply to Yuko Katabami from comment #6)
> > (In reply to Yaniv Dary from comment #5)
> > > Did you install fonts for the  langs you need on the testing server?
> > > 
> > > 
> > > 
> > > Yaniv
> > 
> > Hi Yaniv,
> > 
> > I did not custom install fonts on my VM which you fixed the rehvm-reports
> > install for me, but I have no issue displaying fonts (in all 6 locales) for
> > Admin/User Portals. 
> > 
> > I am not sure if the test environment provided by Kiril and Ohad has the
> > fonts custom installed, but the problems are the same - only Reports Portal
> > have this issue. Admin/User Portals are fine.
> > 
> > Yuko
> 
> You have to install fonts for charts, since they are generated on the server
> side. Please do this reboot the machine and report back.

Hi Yaniv,

Could you please provide me the instruction on how to do that?

Comment 9 Yuko Katabami 2013-10-08 07:17:09 UTC
I managed to install both zh-CN and ja-JP language supports and problem was solved.
Attaching screenshot.
Closing now.

Comment 10 Yuko Katabami 2013-10-08 07:17:57 UTC
Created attachment 809141 [details]
Fixed after language support installation (ja-JP)

Comment 11 Yuko Katabami 2013-10-08 07:18:56 UTC
Created attachment 809148 [details]
Fixed after language support installation (zh_CN)