Feature request #12932
Better "Invalid Layer" error message
|Assigned to:||Nathan Woodrow||% Done:||
|Category:||Browser (QGIS Desktop)|
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
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