GdalUtils.ogrLayerName not working anymore with geometryless tables #40662
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
PyQGIS
Related to the PyQGIS API
Regression
Something which used to work, but doesn't anymore
I don't know if something changed recently or if I hit a regression.
The following method
GdalUtils.ogrLayerName(layer.dataProvider().dataSourceUri()
is working fine always, meaning that it's returning a string likemyschema.mytable
with both geometry and geometryless tables in QGIS 3.10The same method exact method with the same database is returning a complete string only if the layer is geometric, else it is returning only the schema name. I tried this on QGIS master (3.17)
The text was updated successfully, but these errors were encountered: