Opened 14 years ago

Closed 14 years ago

#3001 closed bug (fixed)

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

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 (last modified by jef)

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.

Change History (1)

comment:1 by jef, 14 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

fixed in r14228.

Note: See TracTickets for help on using tickets.