mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Remove InsertResults
This commit is contained in:
parent
85faeb37a0
commit
aab08cb722
@ -1469,16 +1469,14 @@ QDomDocument QgsWFSServer::transaction( const QString& requestBody )
|
||||
// Put the Feature Ids of the inserted feature
|
||||
if ( insertResults.size() > 0 )
|
||||
{
|
||||
QDomElement irsElem = doc.createElement( "InsertResults" );
|
||||
foreach (const QString &fidStr, insertResults)
|
||||
{
|
||||
QDomElement irElem = doc.createElement( "InsertResult" );
|
||||
QDomElement fiElem = doc.createElement( "ogc:FeatureId" );
|
||||
fiElem.setAttribute( "fid", fidStr );
|
||||
irElem.appendChild( fiElem );
|
||||
irsElem.appendChild( irElem );
|
||||
respElem.appendChild( irElem );
|
||||
}
|
||||
respElem.appendChild( irsElem );
|
||||
}
|
||||
|
||||
// Set the transaction reposne for success
|
||||
|
Loading…
x
Reference in New Issue
Block a user