Bug 760721

Summary: config editor: negative values cannot be entered for properties of type LONG
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2CC: ccrouch, hrupp, skondkar
Target Milestone: ---   
Target Release: RHQ 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:12:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Springer 2011-12-06 20:33:23 UTC
As soon as a negative value is entered it is immediately replaced with the value "-". Also, "-" is considered a valid value by the field's validator, but it should not be.

Comment 1 Ian Springer 2011-12-07 19:28:32 UTC
Fixed in master - http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=74d3e19.

Comment 2 Sunil Kondkar 2011-12-08 12:35:25 UTC
Verified on master build#823 (Version: 4.3.0-SNAPSHOT Build Number: d7ef96e)

Verified on test config editor and test group config editor:
http://localhost:7080/coregui/#Test/Configuration/ConfigEditor
http://localhost:7080/coregui/#Test/Configuration/GroupConfigEditor

 Entering a negative value in property 'Long' doesn't replace with "-". It accepted a negative value (-9223372036854775807) and successfully saved it.

Marking as verified.

Comment 4 Heiko W. Rupp 2013-08-31 10:12:20 UTC
Bulk close of old bugs in VERIFIED state.