Bug report #7806
"Invalid layer" dialog is not helpful
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Data Provider/PostGIS | ||
Affected QGIS version: | 1.8.0 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16696 |
Description
The Invalid Layer dialog does not explain why a layer is invalid.
The attached image has an Invalid Layer dialog that appeared after trying to add a PostGIS table. My view does not have an id column (it only has a geom column). If I didn't already know of the requirement for an id column, I would have had no clue what caused this error.
I am filing as a bug because this is a defect with the UI. The UI should explain errors in enough detail that the user can resolve them.
Associated revisions
[Fix #7806] Be more verbose in "invalid layer" dialog
History
#1 Updated by Matthias Kuhn over 11 years ago
- Status changed from Open to Closed
Fixed in changeset 5009aad255537d2bd708f72682264ea88eba701e.