Bug report #4732

(regression) table of attributes is not immediately refreshed after a field calculator operation

Added by Giovanni Manghi over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
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 #:14604

Description

tested on both Windows/osgeo4w and Ubuntu with qgis-master

To see the new values is needed to close the table and reopen it again.

If the operation is an update then the old values are not immediately changed, if the operation is computing a new column then the same column if filled with "NULL".


Related issues

Duplicated by QGIS Application - Bug report #4718: Field calculator: $rownum returns NULL Closed 2011-12-30

Associated revisions

Revision c1b631d0
Added by Jürgen Fischer over 7 years ago

- fix #4732
- move contents of src/app/attributetable and src/app/spatialite up one level
(there was only one class in each directory left)

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Priority changed from Normal to High
  • Subject changed from table of attributes is not immediately refreshed after a field calculator operation to (regression) table of attributes is not immediately refreshed after a field calculator operation

this is a regression, seems to work fine in 1.7.3

#2 Updated by Jürgen Fischer over 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi over 7 years ago

  • Status changed from Closed to Open

Jürgen Fischer wrote:

Fixed in changeset c1b631d0e0f0e434acaa5cbd514de2b079817334.

Hi Jurgen,

it seems that when the operation is an update of an existing column, then the last record of the table is not updated.

#4 Updated by Jürgen Fischer over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF