Bug 1182573

Summary: Incorrect error message when hovering over custom cpu shares
Product: Red Hat Enterprise Virtualization Manager Reporter: Lukas Svaty <lsvaty>
Component: ovirt-engine-webadmin-portalAssignee: Dudi Maroshi <dmaroshi>
Status: CLOSED DUPLICATE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.4CC: dfediuck, ecohen, gklein, iheim, lsurette, mavital, rbalakri, rgolan, Rhev-m-bugs, sherold, yeylon
Target Milestone: ---   
Target Release: 3.5.1   
Hardware: x86_64   
OS: All   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-04 14:59:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
not empty being empty and not being not empty none

Description Lukas Svaty 2015-01-15 13:46:41 UTC
Description of problem:
See attached screenshot. Not empty field is not empty.

Version-Release number of selected component (if applicable):
av14.1

How reproducible:
100%

Steps to Reproduce:
1. Edit custom cpu shares with 'foo'
2. See error message
3.

Actual results:
Field can't be empty.

Expected results:
Field can't contain other symbols than numbers.

Additional info:

Comment 1 Lukas Svaty 2015-01-15 13:47:18 UTC
Created attachment 980502 [details]
not empty being empty and not being not empty

Comment 2 Dudi Maroshi 2015-02-02 08:33:15 UTC
Error was reproduced and traced.
The defect is in class IntegerEntityModelTextBoxOnlyEditor
The validator  ToIntEntityModelParser is returning wrong message. 
Defect relevant to all instanced of IntegerEntityModelTextBoxOnlyEditor (17 instances).

In addition found respective relevant defects for instances of:
ShortEntityModelTextBoxOnlyEditor (2 instances)
LongEntityModelTextBoxEditor (2 instances)
DoubleEntityModelLabelEditor (2 instances)

Comment 3 Roy Golan 2015-02-04 14:59:41 UTC

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