Bug report #4718

Field calculator: $rownum returns NULL

Added by Paolo Cavallini almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:14599

Description

Adding a field with Field calculator, with the expression $rownum results in all NULLs


Related issues

Duplicates QGIS Application - Bug report #4732: (regression) table of attributes is not immediately refre... Closed 2012-01-02

History

#1 Updated by Giovanni Manghi almost 10 years ago

  • Status changed from Open to Feedback

not confirmed here on both shapes and postgis

#2 Updated by Giovanni Manghi almost 10 years ago

it is confirmed, but this happens only if you have already the table of attributes open

see #4732

#3 Updated by Jürgen Fischer almost 10 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF