Skip to content
Permalink
Browse files

fix build

  • Loading branch information
jef-n committed Jan 15, 2017
1 parent e0d7374 commit f10f82b557ef156159e5434faf02abe79ee06e30
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/providers/wfs/qgswfsprovider.cpp
@@ -849,16 +849,18 @@ bool QgsWFSProvider::addFeatures( QgsFeatureList &flist )
{
//transaction successful. Add the features to the cache
QStringList idList = insertedFeatureIds( serverResponse );

/* Fix issue with GeoServer and shapefile feature stores when no real
feature id are returned but new0 returned instead of the featureId*/
for ( const QString &v : idList )
Q_FOREACH ( const QString &v, idList )
{
if ( v.startsWith( "new" ) )
{
reloadData();
return true;
}
}

QStringList::const_iterator idIt = idList.constBegin();
featureIt = flist.begin();

0 comments on commit f10f82b

Please sign in to comment.
You can’t perform that action at this time.