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 ae3db0a commit e49661d7e0f71c64102ef53e03aebfbf17a489ec
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();

2 comments on commit e49661d


This comment has been minimized.

Copy link

@elpaso elpaso replied Jul 14, 2016

This rings me a bell, @Gustry does this have anything to do with what we've observed in Girona while you were generating a project on the fly form Python server code (and no canvas) ?
@m-kuhn was it a "normal" project generated from QGIS desktop?


This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Jul 14, 2016

Please sign in to comment.