Feature request #10759

Give warning when trying to save wrong type in attribute table

Added by Marco Lechner almost 10 years ago. Updated almost 7 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Attribute table
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:19142

Description

QGIS should raise a warning when a wrong type is being saved into an attribute tables column.

When a string ('foo') is calculated for a integer column using the field calculator the result is shown as 'foo' in the table as long as a cell gets a focus or the changes are saved. Without any warning or hint the strings are forced to 0 (if not convertible to int) on save. the user may expect an early warning (e.g. when the field calculator does it's job) that types are incompatible.

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

Also available in: Atom PDF