planetfederal / qgis-geoserver-plugin

GNU General Public License v2.0
62 stars 52 forks source link

Error on uploading layer when there are no workplaces #25

Closed alexbruy closed 9 years ago

alexbruy commented 9 years ago

When user forgot to create workplace and tried to upload layer via drag-and-drop and error occurs. It is better to handle such situation in more user-friendly way, e.g. show warning message.

Error happens here https://github.com/boundlessgeo/qgis-geoserver-plugin/blob/master/src/geoserverexplorer/gui/gsoperations.py#L12.

'NoneType' object has no attribute 'catalog'