Skip to content
Browse files

[server] Fix crash in WMS server when... bad things happen

No idea what exactly the reason is, and it was only discovered by
countless hours of printf-debugging. So I'm just pushing the fix
for everyone else who might be affected.
  • Loading branch information
m-kuhn committed Jul 12, 2016
1 parent ce974f5 commit dfef36e43f92762d6a92028ed976a010870b82b9
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/server/qgswmsprojectparser.cpp
@@ -1146,6 +1146,11 @@ void QgsWMSProjectParser::addLayers( QDomDocument &doc,

if ( !ltGroup )
QgsDebugMsg( QString( "Skipping group %1, it could not be found" ).arg( name ) );
QString shortName = ltGroup->customProperty( "wmsShortName" ).toString();
QString title = ltGroup->customProperty( "wmsTitle" ).toString();

0 comments on commit dfef36e

Please sign in to comment.
You can’t perform that action at this time.