mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Following fix for bug #20064 - WFS Update transaction also for version 1.0.0
This commit is contained in:
parent
daf5394042
commit
980e0b69ea
@ -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" ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user