[Qgis-developer] Problem with Memory storage type in PyQGIS when updating with auto form
Stefan Keller
sfkeller at gmail.com
Mon Jun 8 11:36:31 PDT 2015
Maybe a reiteration of this thread discussed on this list as
"Struggling with iface.openFeatureForm()"?
and this issue "iface.openFeatureForm() does not update feature"
https://hub.qgis.org/issues/11099 ?
-S.
2015-06-08 19:25 GMT+02:00 Stefan Keller <sfkeller at gmail.com>:
> Hi
>
> I have a layer of "Memory storage" type (Memory provider) which I
> created with Python.
> When editing=on and updating values using the attribute table
> interactively everything works as expected, i.e. the record get's
> updated.
> Then I'm checking "Auto open form" to on.
> Now, when updating the object interactively using the "Identify
> Features" tool the auto form opens as expected.
> But after saving, the record get's duplicated and sorted to the end.
> So I end up with two records having the same values (incl. id etc.),
> one remaining an unchanged duplicate, the other containing the value
> changes.
> Any hints?
>
> Cheers, S.
More information about the Qgis-developer
mailing list