GPKG table referenced by Id instead of layername #24801
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Emmanuel BELO (Emmanuel BELO)
Original Redmine Issue: 16902
Affected QGIS version: 2.18.10
Redmine category:data_provider/ogr
When you load a geopackage layer via Add Vector Layer, the table is referenced by it's ID
See Layer source in the layer properties, General Tab: my_gpkg.gpkg|layerid=8
This is an issue, because if one does a vacuum on the Geopackage, the layerid might change. In this case, your entire project might loose all layer references.
==
Contextual info: if you do: save layer as a geopackage, then the new added layer is referenced correctly by the tablename in the layer properties, general tab section: my_gpkg.gpkg|layername=my_layername
The text was updated successfully, but these errors were encountered: