In QGIS switch mode to edit for a layer and insert one new record
Save the changes and switch mode to read only
Again switch mode to edit and delete the just created record.
Save again
In the GeoPackage database in the table xx_audit I now see two records with the same fid. One with audit_op = 1 and another with audit_op = 3. Seems to be OK.
I then put a breakpoint in repository.importgeopkg and started the sync with the Geogig server.
I check the file with the changes created with self.saveaudittables(filename, layername) : That also contains the two audit records. OK so far.
I let the sync complete.
Now I go to the repository history, select the just created checkpoint and press "Show changes introduced by this commit". The comparison view shows only the added feature but not the deleted feature! This is an error. It should either show no changes or the added and the deleted feature.
I tried the following:
In the GeoPackage database in the table xx_audit I now see two records with the same fid. One with audit_op = 1 and another with audit_op = 3. Seems to be OK.
I then put a breakpoint in repository.importgeopkg and started the sync with the Geogig server. I check the file with the changes created with self.saveaudittables(filename, layername) : That also contains the two audit records. OK so far.
I let the sync complete. Now I go to the repository history, select the just created checkpoint and press "Show changes introduced by this commit". The comparison view shows only the added feature but not the deleted feature! This is an error. It should either show no changes or the added and the deleted feature.