[Qgis-developer] committedGeometriesChanges issue

Olivier Dalang olivier.dalang at gmail.com
Wed Apr 8 06:48:28 PDT 2015


Hi Enrico,

The bug should fixed in master, did you update your 2.9 version to the
latest one ?

Also the bugfix has been backported, so it will be fixed in 2.8.2 (which
has no defined release date yet afaik)

Best,

Olivier





2015-04-08 15:32 GMT+02:00 Enrico Fiore <enricofiore at libero.it>:

> Hi,
> I am trying to perform a post-processing queries in a postgis layer. When
> a new point is insert all work fine, but if I move existing point the
> queries don't work. The event committedGeometriesChanges seems that doesn't
> work.
> Is it because is not open the form dialog to perform this action?
>
>  I found this thread
>
> http://osgeo-org.1560.x6.nabble.com/Post-processing-queries-on-postgis-layers-after-insert-delete-update-td5193956.html
>
> where is written that it is a bug and that it is fixed in 65378e6
>
> I tried both with QGIS 2.8.1 and QGIS 2.9.0.40.
>
> Is it a mistake or the bug is not fixed? Is it necessary open a ticket?
>
> The code that I use is
>
> def formOpen(dialog, layerid, featureid):
>     layerid.commitedGeometriesChanges.connect(confirmChanged)
>
>
> def confirmChanged(layerid, changedGeometries):
>    ... update attribute with queries ....
>
>
> Regards
>
> Enrico Fiore
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150408/ad09ae37/attachment.html>


More information about the Qgis-developer mailing list