invalid entry in Quick Field Calculation Bar results in NULL value without warning #47385
Closed
2 tasks done
Labels
Attribute Table
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
What is the bug or the crash?
When using the Quick Field Calculation Bar in the Attribute table, updating an existing text field with a text value without using single quotes, result in updating the field with NULL value without any warning.
Doing the same in the Field Calculator will show an error message and updating is not possible.
Steps to reproduce the issue
See attached zip or:
Create a new scratch layer (points) with a text field named testfield
Create a few points and add m2 as value
Open the attribute table and use the Quick Field Calculation bar to update testfield
Type m1 without using single quotes
Now the Update All button is available. Clicking it results in NULL value for testfield without any warning. This is also inconsistent compared to using the Field Calculator. See comment for feature request issue reference.
test_qfcb.zip
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Actieve Python plug-ins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.5
processing
2.12.99
sagaprovider
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: