Skip to content
Permalink
Browse files

Merge pull request #8285 from uprel/master

[Bugfix][Server][WFS] Fixing bug in WFS update transaction for version 1.0.0
  • Loading branch information
rldhont committed Oct 24, 2018
2 parents 4f0a800 + 980e0b6 commit b8469dc3b11c8c72ddc1b29154ce94ddfc627320
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wfs/qgswfstransaction_1_0_0.cpp
@@ -1071,7 +1071,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 b8469dc

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