Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #8285 from uprel/master
Browse files Browse the repository at this point in the history
[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 b8469dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wfs/qgswfstransaction_1_0_0.cpp
Expand Up @@ -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" ) );
}
Expand Down

0 comments on commit b8469dc

Please sign in to comment.