Bug 1235118 - Please make the format of allowable characters in error messages ("a-z0-9A-Z" or "-_") more clear
Summary: Please make the format of allowable characters in error messages ("a-z0-9A-Z"...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.2
: 3.6.2.5
Assignee: Eli Mesika
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-24 04:34 UTC by Yuko Katabami
Modified: 2016-02-18 11:02 UTC (History)
12 users (show)

Fixed In Version: 3.6.0-4_alpha3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:02:14 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 43640 0 master MERGED clear format of allowable characters in error msg Never
oVirt gerrit 49377 0 master MERGED core:clear format of allowable characters in error Never
oVirt gerrit 51161 0 ovirt-engine-3.6 MERGED core:clear format of allowable characters in error 2015-12-30 10:23:06 UTC
oVirt gerrit 51162 0 ovirt-engine-3.6.2 MERGED core:clear format of allowable characters in error 2015-12-30 10:28:39 UTC

Description Yuko Katabami 2015-06-24 04:34:18 UTC
Description of problem:

In some error messages, allowable characters are written in format of:

"a-z0-9A-Z" or "-_"
"a-z0-9A-Z" and "-_"

It may confuse some translators and (possibly some users) and it will be very helpful if it can be written more clearly.

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


How reproducible: 100%


Actual results:
"a-z0-9A-Z" or "-_"
"a-z0-9A-Z" and "-_"

Expected results:
'A-Z', 'a-z', '0-9', '-', or '_'
'A-Z', 'a-z', '0-9', '-', and '_'

Additional info:
We found 13 instances of those in AppErrors files

Comment 1 Einav Cohen 2015-06-25 13:33:52 UTC
whiteboard should be 'i18n' only if translations *only* should be updated. in this case, the English (source) strings should be updated, hence it shouldn't be 'i18n'. 
[translations would need to be updated accordingly as well, but this would happen automatically once the translators will receive the updated English strings]

Comment 2 Lukas Svaty 2015-11-09 13:01:27 UTC
Host name message is incorrect

Actual result:
Host name can't contain blanks or special characters, must be at least 1 character long and contain 'a-z', '0-9', '_' or '.' characters.

Expected result:
Either show this error message after '-' is added or add description to support '-'.

Comment 3 Red Hat Bugzilla Rules Engine 2015-11-09 13:01:31 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Oved Ourfali 2015-11-09 13:06:00 UTC
I don't understand the failure.
Can you elaborate?

Comment 5 Lukas Svaty 2015-11-24 10:08:48 UTC
symbol '-' is supported in the host name field, but is not in the error message, so the message should say:

Host name can't contain blanks or special characters, must be at least 1 character long and contain 'a-z', '0-9', '_', '.' or '-' characters.


However at the moment it says:

Host name can't contain blanks or special characters, must be at least 1 character long and contain 'a-z', '0-9', '_' or '.' characters.

Comment 6 Sandro Bonazzola 2015-12-23 15:07:51 UTC
This bug has target milestone 3.6.2 and is on modified without a target release.
This may be perfectly correct, but please check if the patch fixing this bug is included in ovirt-engine-3.6.2. If it's included, please set target-release to 3.6.2 and move to ON_QA. Thanks.

Comment 7 Red Hat Bugzilla Rules Engine 2015-12-30 12:50:49 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 8 Lukas Svaty 2016-01-21 11:31:11 UTC
rhevm-webadmin-portal-3.6.2.6-0.1.el6.noarch


Note You need to log in before you can comment on or make changes to this bug.