camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

Don't do 2 SQL updates per editing #11232

Open sbrunner opened 2 months ago

sbrunner commented 2 months ago

Be able to use existing table

Don't do 2 updates per editing: In papyrus, there is a flush that creates a first INSERT or UPDATE The idea is to update the fields in the before_* callback to avoid having two REQUESTS

See JIRA issue: GSSIT-114.