[Qgis-developer] Problem with Memory storage type in PyQGIS when updating with auto form

Stefan Keller sfkeller at gmail.com
Mon Jun 8 10:25:27 PDT 2015


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