Skip to content

Commit fff0c03

Browse files
authored
Merge pull request #8155 from uprel/master
Fixes #20064: Bug in Server WFS update transaction
2 parents 3cb9ef2 + d71f85b commit fff0c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/services/wfs/qgswfstransaction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ namespace QgsWfs
10931093
typeName = typeName.section( ':', 1, 1 );
10941094

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

0 commit comments

Comments
 (0)