Skip to content
Permalink
Browse files

Following fix for bug #20064 - WFS Update transaction also for versio…

…n 1.0.0
  • Loading branch information
uprel committed Oct 24, 2018
1 parent daf5394 commit 980e0b69ea2b03e7023413d2e2f453a63fe0ff65
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 980e0b6

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