Feature request #12932

Better "Invalid Layer" error message

Added by David Vanescentes almost 2 years ago.

Status:Open Start Date:06/10/2015
Priority:Low Due date:
Assigned to:Nathan Woodrow % Done:

0%

Category:Browser (QGIS Desktop)
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

When loading spatial data from SQL Server, if the data doesn't conform to the input requirements a message is displaying saying something like "invalid layer - not loaded". Please change this error message to include an explanation of all the format and data requirements that an input layer must conform to (like each row must have a single primary key column, which probably has to be an int) or direct the user to someplace they can go to see the requirements. It would be even better if the error reported exactly which requirement caused the load failure and any other info that will help the user find the problem (e.g. found duplicate id value: "person_id"=12345) but the generic error with a link to requirements would probably be sufficient.

Also available in: Atom