Opened 14 years ago

Last modified 14 years ago

#3001 closed bug

minvalue() doesn't reflect change in data (Shapefile) — at Initial Version

Reported by: volter Owned by: jef
Priority: major: does not work as expected Milestone:
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Fedora
Platform Version: Awaiting user input: no

Description

This is more or less related to https://trac.osgeo.org/qgis/ticket/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.

Change History (0)

Note: See TracTickets for help on using tickets.