Bug report #10688
Cannot add anymore Views with proper PK from DB manager
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | DB Manager | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19085 |
Description
In QGIS master it is not possible to add anymore from DB Manager a VIEW that has a proper PK.
The error in the log (very hidden for the common user) is:
No key field for view given.
PostgreSQL layer has no primary key.
No issues at all with the same View in QGIS 2.2
Associated revisions
dbmanager: fix adding views to canvas (fixes #10688)
History
#1 Updated by Jürgen Fischer over 10 years ago
- Status changed from Open to Closed
Fixed in changeset 1949fd758573c3629eb41cd94a1b5cec3f3e7ef5.