[QGIS-Developer] QGIS 3.4.1: layer refresh on provider notifications doesn't update editing layer

Régis Haubourg regis.haubourg at gmail.com
Wed Nov 14 05:27:00 PST 2018


Hi Lucas,
I suspect you are facing postgres transaction inception. you are trying to
refresh data from the database when you have an edit session opened? Are
you using transaction modes? Are the users modifications done on the same
features you are working on?

I'm not sure this is your issue, but we know that there are still issues
concerning snapping cache when a provider refreshes data in transaction
mode, and that locks are just silent in QGIS. A good addition would be to
raise locks verbosely through the QgsMessageBar.

Cheers
Régis

Le mer. 14 nov. 2018 à 12:28, Luca Manganelli <
luca.manganelli at comune.trento.it> a écrit :

> Hi,
>
> I am testing the new provider notification system (using Postgres NOTIFY).
> But I noitced this strange thing: when I am editing, I see the layer
> modifications from another user, but QGIS still remembers the old ones (I
> cannot move the modifications, for example...)
>
> it's a known issue?
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181114/d7bd6ce5/attachment.html>


More information about the QGIS-Developer mailing list