On Fri, Feb 27, 2015 at 04:57:39PM +0100, Jürgen E. Fischer wrote: > Hi Sandro, > > On Fri, 27. Feb 2015 at 16:43:23 +0100, Sandro Santilli wrote: > > Victor, I've been thinking of this problem overnight and thought > > that maybe it could be fixed by having QGIS use UPDATE..RETURNING > > to update the associated key. > > And return it where? In the current vector provider interface only > ::addFeatures gets QgsFeature (and already updates their id), but > changeAttributeValues and changeGeometryValues only get attributes or geometry > along with the original feature id.
Sorry, I hadn't looked at the actual code, was just an idea. Didn't know there was support for auto-updating IDs already (great!). In any case the reported behavior does sound like a bug to me, so I still think it should get a ticket, don't you ? --strk; _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
