planetfederal / qgis-geogiglight-plugin

GNU General Public License v2.0
19 stars 9 forks source link

Insert and delete during one commit is not handled well #120

Open MarkusHesse42 opened 6 years ago

MarkusHesse42 commented 6 years ago

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.