I use this trigger on a geopackage table:
CREATE TRIGGER upd_iae_surf AFTER UPDATE ON "IAE CRD Surf"
BEGIN
UPDATE "IAE CRD Surf" SET
"taille" = ROUND(ST_Area(NEW.geom)/10000,3)
WHERE fid = NEW.fid;
END
When I modify this table in QGIS, I've got this message:
Erreur OGR lors du paramétrage de l'entité 2802 : failed to execute update : too many levels of trigger recursion.
I don't find any problem in my trigger. What is the problem ?