Hi Marco Are you sure that you are testing the same thing. IIRC there are the following methods which can be easily mixed up:
layer.changeAttributeValue() and layer.provider().changeAttributeValues() Best, Matthias On 05/27/2015 11:02 AM, marco bra wrote: > Accessing same postgresql/postgis db > and using plugin QuickMultiAttributeEdit > > 1) all works fine on qgis 2.8.1 > > 2) using 2.9.0-Master Master, exported > qgis master dev (next 2.9) > > i get > > Traceback (most recent call last): > File > "/home/ubuntu/.qgis2/python/plugins/QuickMultiAttributeEdit/quickmultiattributeedit_dialogs.py", > line 121, in run > layer.dataProvider().changeAttributeValue(feature.id > <http://feature.id>(),nPosField,value) > AttributeError: 'QgsVectorDataProvider' object has no attribute > 'changeAttributeValue' > > > The source plugin rows are: > > 120. for feature in oFeaIterator: > 121. > layer.dataProvider().changeAttributeValue(feature.id > <http://feature.id>(),nPosField,value) > > > There is some changed or can be a bug ? > > Thank you > Marco > > -- > Linux Infinite Freedom > > I'm writing from this place: > http://www.openstreetmap.org/?lat=44.39945&lon=8.6798&zoom=15&layers=M > > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
