Bug 332886 - Display warning when entering "-" for unsigned numeric types in table view
Summary: Display warning when entering "-" for unsigned numeric types in table view
Status: CONFIRMED
Alias: None
Product: KEXI
Classification: Applications
Component: Tables (show other bugs)
Version: 2.8.1
Platform: unspecified All
: NOR minor
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 21:55 UTC by Jarosław Staniek
Modified: 2017-08-22 09:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.