Skip to content
Permalink
Browse files

[BUGFIX][Server] Segfault in WFS GetCapabilities

  • Loading branch information
rldhont committed Apr 10, 2018
1 parent 07207e0 commit dabf1c766875ec8006183b1d749106bec0c33f89
@@ -421,6 +421,10 @@ namespace QgsWfs
for ( const QString &wfsLayerId : wfsLayerIds )
{
QgsMapLayer *layer = project->mapLayer( wfsLayerId );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
{
continue;
@@ -266,6 +266,10 @@ namespace QgsWfs
for ( const QString &wfsLayerId : wfsLayerIds )
{
QgsMapLayer *layer = project->mapLayer( wfsLayerId );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
{
continue;

0 comments on commit dabf1c7

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