"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/server/services/wfs/qgswfstransaction.cpp" between
QGIS-final-3_10_11.tar.gz and QGIS-final-3_10_12.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgswfstransaction.cpp  (QGIS-final-3_10_11):qgswfstransaction.cpp  (QGIS-final-3_10_12)
skipping to change at line 184 skipping to change at line 184
} }
addTransactionResult( resp, trsElem, locator, action.errorMsg ); addTransactionResult( resp, trsElem, locator, action.errorMsg );
} }
totalDeleted += action.totalDeleted; totalDeleted += action.totalDeleted;
} }
//wfs:TransactionSummary element //wfs:TransactionSummary element
QDomElement summaryElem = doc.createElement( QStringLiteral( "TransactionSum mary" ) ); QDomElement summaryElem = doc.createElement( QStringLiteral( "TransactionSum mary" ) );
if ( aRequest.inserts.size() > 0 ) if ( aRequest.inserts.size() > 0 )
{ {
QDomElement totalInsertedElem = doc.createElement( QStringLiteral( "TotalI nserted" ) ); QDomElement totalInsertedElem = doc.createElement( QStringLiteral( "totalI nserted" ) );
totalInsertedElem.appendChild( doc.createTextNode( QString::number( totalI nserted ) ) ); totalInsertedElem.appendChild( doc.createTextNode( QString::number( totalI nserted ) ) );
summaryElem.appendChild( totalInsertedElem ); summaryElem.appendChild( totalInsertedElem );
} }
if ( aRequest.updates.size() > 0 ) if ( aRequest.updates.size() > 0 )
{ {
QDomElement totalUpdatedElem = doc.createElement( QStringLiteral( "TotalUp dated" ) ); QDomElement totalUpdatedElem = doc.createElement( QStringLiteral( "totalUp dated" ) );
totalUpdatedElem.appendChild( doc.createTextNode( QString::number( totalUp dated ) ) ); totalUpdatedElem.appendChild( doc.createTextNode( QString::number( totalUp dated ) ) );
summaryElem.appendChild( totalUpdatedElem ); summaryElem.appendChild( totalUpdatedElem );
} }
if ( aRequest.deletes.size() > 0 ) if ( aRequest.deletes.size() > 0 )
{ {
QDomElement totalDeletedElem = doc.createElement( QStringLiteral( "TotalDe leted" ) ); QDomElement totalDeletedElem = doc.createElement( QStringLiteral( "totalDe leted" ) );
totalDeletedElem.appendChild( doc.createTextNode( QString::number( totalDe leted ) ) ); totalDeletedElem.appendChild( doc.createTextNode( QString::number( totalDe leted ) ) );
summaryElem.appendChild( totalDeletedElem ); summaryElem.appendChild( totalDeletedElem );
} }
respElem.appendChild( summaryElem ); respElem.appendChild( summaryElem );
// add TransactionResults // add TransactionResults
if ( errorCount > 0 && trsElem.hasChildNodes() ) if ( errorCount > 0 && trsElem.hasChildNodes() )
{ {
respElem.appendChild( trsElem ); respElem.appendChild( trsElem );
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)