Bug report #5203
Attribute editor can not insert numbers into fields of type numeric(precision, scale)
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Data Provider/PostGIS | ||
Affected QGIS version: | 1.7.4 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 14942 |
Description
If I have an attribute of type numeric (precision, scale) I can't insert a new field - simply put, no letters appear in the input box if the value is null (even if there is a value to begin with, and I delete the text from the box - the box become unresponsive until I Crtl-Z back).
Steps to reproduce:
1. Create a postgis table with a nullable attribute of type numeric(precision, scale) (I used 24,0)
2. Open table for editing in qgis
3. Try to insert a new feature and set a value to the aforementioned qualified numeric attribute.
Expected result: The row is updated with your value.
What actually happens: You can't write anything in the input field.
A dirty work-around is to make attributes of this type default to zero or some other value.
Associated revisions
History
#1
Updated by Jürgen Fischer over 12 years ago
- Status changed from Open to Closed
Fixed in changeset 587b33821dde8343d188d5683d5b9e153528c963.