Skip to content
Permalink
Browse files

Merge pull request #8155 from uprel/master

Fixes #20064: Bug in Server WFS update transaction
  • Loading branch information
rldhont committed Oct 16, 2018
2 parents 3cb9ef2 + d71f85b commit fff0c0309994a1da1d381108819054f3eb6dfefa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wfs/qgswfstransaction.cpp
@@ -1093,7 +1093,7 @@ namespace QgsWfs
typeName = typeName.section( ':', 1, 1 );

QDomNodeList propertyNodeList = actionElem.elementsByTagName( QStringLiteral( "Property" ) );
if ( propertyNodeList.size() != 1 )
if ( propertyNodeList.isEmpty() )
{
throw QgsRequestNotWellFormedException( QStringLiteral( "Update action element must have one or more Property element" ) );
}

0 comments on commit fff0c03

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