We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cb9ef2 + d71f85b commit fff0c03Copy full SHA for fff0c03
src/server/services/wfs/qgswfstransaction.cpp
@@ -1093,7 +1093,7 @@ namespace QgsWfs
1093
typeName = typeName.section( ':', 1, 1 );
1094
1095
QDomNodeList propertyNodeList = actionElem.elementsByTagName( QStringLiteral( "Property" ) );
1096
- if ( propertyNodeList.size() != 1 )
+ if ( propertyNodeList.isEmpty() )
1097
{
1098
throw QgsRequestNotWellFormedException( QStringLiteral( "Update action element must have one or more Property element" ) );
1099
}
0 commit comments