Bug 332886

Summary: Display warning when entering "-" for unsigned numeric types in table view
Product: [Applications] KEXI Reporter: JarosÅ‚aw Staniek <staniek>
Component: TablesAssignee: Kexi Bugs <kexi-bugs>
Status: CONFIRMED ---    
Severity: minor    
Priority: NOR    
Version: 2.8.1   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description Jarosław Staniek 2014-03-31 21:55:51 UTC
Display warning when entering "-" for unsigned numeric types in table view.

Reproducible: Always

Steps to Reproduce:
1. In an already inserted record, start editing value (e.g. press F2) in a field of unsigned integer type.
2. Enter some negative number, e.g. -123
3. Press Enter to accept
Actual Results:  
The value disappears silently.

Expected Results:  
It should not be possible to enter the minus sign. 

- In the same time, warning popup should appear like presented at http://www.kexi-project.org/pics/2.6/kexi-2.6-text-trimming-in-forms.png

User could even overlook that the value is not entered.