Bug report #3001

minvalue() doesn't reflect change in data (Shapefile)

Added by Volker Fröhlich over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Vectors
Affected QGIS version: Regression?:No
Operating System:Fedora Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13061

Description

This is more or less related to #3000

Calling

qgis.utils.iface.activeLayer().dataProvider().maximumValue(2).toString()

from QGIS' Python console does not reflect change in data. The shapefile must be loaded again, to get correct min or max.

minimumValue() is also affected, but featureCount() works! I would expect them all to work without the need to reload the layer. I don't know, whether other formats are affected.

Associated revisions

Revision 603cff84
Added by Jürgen Fischer over 14 years ago

fix #3001

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14228 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision a2fd4ea8
Added by Jürgen Fischer over 14 years ago

fix #3001

git-svn-id: http://svn.osgeo.org/qgis/trunk@14228 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in .

Also available in: Atom PDF