Bug 760721 - config editor: negative values cannot be entered for properties of type LONG
Summary: config editor: negative values cannot be entered for properties of type LONG
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHQ 4.3.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-06 20:33 UTC by Ian Springer
Modified: 2013-08-31 10:12 UTC (History)
3 users (show)

Fixed In Version: 4.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-31 10:12:20 UTC
Embargoed:


Attachments (Terms of Use)

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.


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