QGIS 3.10 can't find pkey of postgres views #34167
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Feedback
Waiting on the submitter for answers
Regression
Something which used to work, but doesn't anymore
Since QGIS 3.10 the program randomly select a 'key' field for postgres views, so can't open them from Browser Panel, only from the Data Source Manager, after I manually select the Feature id
Previous versions respect field order from definition of views, but 3.10 sort them randomly in the Feature id selection list.
QGIS 2.18 and 3.4 are working fine. I only use LTR versions, so don't know when it changed.
client:
QGIS 3.10.2 Windows 10
server:
PostgreSQL 9.6.5, compiled by Visual C++ build 1800, 64-bit
PostGIS 2.4
3.4:
![DSM_qgis3_4](https://user-images.githubusercontent.com/18245793/73522019-c348a800-4407-11ea-87ad-0803ae7620a9.png)
![DSM_qgis3_10](https://user-images.githubusercontent.com/18245793/73522043-d6f40e80-4407-11ea-8b2d-ab636d26bee8.png)
3.10:
3.4:
3.10: ![DSM_qgis3_10_order](https://user-images.githubusercontent.com/18245793/73522175-0571e980-4408-11ea-8024-2865ddf8d4ab.png)
The text was updated successfully, but these errors were encountered: