Skip to content

Commit

Permalink
Following fix for bug #20064 - WFS Update transaction also for versio…
Browse files Browse the repository at this point in the history
…n 1.0.0
  • Loading branch information
uprel committed Oct 24, 2018
1 parent daf5394 commit 980e0b6
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 980e0b6

Please sign in to comment.