Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 871441

Summary: [ja_JP] No warning and localized message when inputting Description with localized characters in New Server or Desktop Virtual Machine or Edit Template dialog.
Product: Red Hat Enterprise Virtualization Manager Reporter: Lijun Li <lijli>
Component: ovirt-engine-webadmin-portalAssignee: Omer Frenkel <ofrenkel>
Status: CLOSED DUPLICATE QA Contact: Lijun Li <lijli>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: acathrow, danken, dyasny, ecohen, eng-i18n-bugs, eng-l10n-bugs, iheim, michal.skrivanek, ofrenkel, oourfali, qe-i18n-bugs, Rhev-m-bugs, sgrinber, ykatabam, ykaul
Target Milestone: ---Keywords: i18n, Translation
Target Release: 3.1.2   
Hardware: Unspecified   
OS: Linux   
Whiteboard: virt ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-05 11:36:24 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
No warning and localized message when inputting Description with localized characters in Edit Template dialog
none
No warning and localized message when inputting Description with localized characters in New Server or Desktop Virtual Machine dialog
none
Error message shown after attempting to create a VM with description in Japanese none

Description Lijun Li 2012-10-30 13:04:07 UTC
Description of problem:
No warning and localized message when inputting Description with localized characters in New Server or Desktop Virtual Machine or Edit Template dialog

Version-Release number of selected component (if applicable):
3.1.0-22.el6ev

How reproducible:
100%


Steps to Reproduce:
1. Log in RHEVM Admin Portal.
2. Click Virtual Machine tab.
3. Click New Server/New Desktop.
4. Input the Description with locale string, ex.’こい’, in general tab.
5. Click OK.
OR
Click Template tab, and click Edit
Input the Description with locale string, ex.’こい’, in general tab on the Edit Template dialog.
  
Actual results:
No warning and localized message when inputting Description with localized characters in New Server or Desktop Virtual Machine or Edit Template dialog

Expected results:
Should have the localized warning message for the Description.

Additional info:

Comment 1 Lijun Li 2012-10-30 13:06:38 UTC
Created attachment 635565 [details]
No warning and localized message when inputting Description with localized characters in Edit Template dialog

Comment 2 Lijun Li 2012-10-30 13:07:31 UTC
Created attachment 635566 [details]
No warning and localized message when inputting Description with localized characters in New Server or Desktop Virtual Machine dialog

Comment 7 Yuko Katabami 2012-10-31 05:56:24 UTC
I checked on a test system and got an error message as attached file.
It does not say anthing about description.
The top line is Japanese translation for error.

Comment 8 Yuko Katabami 2012-10-31 05:58:10 UTC
Created attachment 635946 [details]
Error message shown after attempting to create a VM with description in Japanese

Comment 9 Oved Ourfali 2012-10-31 06:11:26 UTC
(In reply to comment #8)
> Created attachment 635946 [details]
> Error message shown after attempting to create a VM with description in
> Japanese

But we do get the localized error for other languages.
Is the mapping for this error appear in the Japanese Zanata file?
Perhaps it is missing, and that's why we see it only in other languages.
Can you check the Japanese Zanata properties file?

Comment 10 Yuko Katabami 2012-10-31 06:54:21 UTC
Cannot ${action} ${type}. The given description contains special characters.¶
Only alpha-numeric and some special characters that conform to the standard ASCII character set are allowed.



I checked the message in Zanata and confirmed that there are two identical strings in Zanata with the following Resource ID:

ACTION_TYPE_FAILED_DESCRIPTION_MAY_NOT_CONTAIN_SPECIAL_CHARS
ACTION_TYPE_FAILED_DESCRIPTION_MAY_NOT_CONTAIN_SPECIAL_CHARS

These are both translated.

Comment 11 Yuko Katabami 2012-10-31 06:58:35 UTC
One possibility can be that we had to change the order ${action} and ${type} to translate this string.

Comment 12 Omer Frenkel 2012-12-03 11:50:21 UTC
Need to see if we can allow localized description for vm and template on the vdsm side

Comment 13 Andrew Cathrow 2012-12-03 12:13:59 UTC
Dan - do you know the answer to comment #12 ?

thanks
Aic

Comment 14 Dan Kenigsberg 2012-12-03 13:45:14 UTC
I think that master storage domains of format 3 can finally store Unicode metadata. Vdsm of rhev-2.x and rhev-3.0 are known to have exploded, see bug 567077.

Comment 15 Michal Skrivanek 2012-12-05 11:36:24 UTC
disregard previous comment, this bug is only about the error message not localized . followup in 880501

*** This bug has been marked as a duplicate of bug 880501 ***