Skip to content

Conversation

alexbruy
Copy link
Contributor

When we parse geodiff changeset to create report some tables might not be present in the changeset (either because they were deleted or not affected by the change). This results in invalid table object and leads to the error reported in MerginMaps/qgis-plugin#362.

Refs MerginMaps/qgis-plugin#362

@varmar05
Copy link
Contributor

If we add/delete table to geopackage would not it result in breaking change (from geodiff point of view)? I am wondering if we even pass correct full gpkg with its schema it that case? @wonder-sk

@varmar05 varmar05 requested a review from wonder-sk March 24, 2022 07:36
@PeterPetrik
Copy link
Contributor

If we add/delete table to geopackage would not it result in breaking change (from geodiff point of view)? I am wondering if we even pass correct full gpkg with its schema it that case? @wonder-sk

if you delete/add table it is schema change for geodiff, see:

https://github.com/lutraconsulting/geodiff/blob/ae0474859818736460faef406fb23e9be15e811e/geodiff/src/drivers/sqlitedriver.cpp#L537

@PeterPetrik PeterPetrik merged commit 5eee1f5 into master Mar 28, 2022
@PeterPetrik PeterPetrik deleted the fix-report branch March 28, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants