Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute editor can not insert numbers into fields of type numeric(precision, scale) #14942

Closed
qgib opened this issue Mar 19, 2012 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 19, 2012

Author Name: Gissur Þórhallsson (Gissur Þórhallsson)
Original Redmine Issue: 5203
Affected QGIS version: 1.7.4
Redmine category:data_provider/postgis


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.


@qgib
Copy link
Contributor Author

qgib commented Mar 22, 2012

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "587b33821dde8343d188d5683d5b9e153528c963".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Version 1.7.4 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant