Bug report #4766
Updated by Anita Graser over 5 years ago
To reproduce this issue, try the following:
In editing mode, use field calculator to add a new Integer field with width = 1 and fill it with the value 100.
This is obviously not going to work because we would need at least a width of 3 to accommodate this value.
Instead, '100' is happily displayed in the attribute table.
Only when I deactivate editing mode, the value suddenly gets truncated and reads '1' now.
In this simple case it's easy to spot. In other cases this can severely throw users off their path.
There should be some kind of warning.
In editing mode, use field calculator to add a new Integer field with width = 1 and fill it with the value 100.
This is obviously not going to work because we would need at least a width of 3 to accommodate this value.
Instead, '100' is happily displayed in the attribute table.
Only when I deactivate editing mode, the value suddenly gets truncated and reads '1' now.
In this simple case it's easy to spot. In other cases this can severely throw users off their path.
There should be some kind of warning.