Skip to content


Regenerate fids for "join attributes by location"
Browse files Browse the repository at this point in the history
Fix #19708
  • Loading branch information
m-kuhn committed Oct 31, 2018
1 parent 432bec1 commit f8d873c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def processAlgorithm(self, parameters, context, feedback):
out_fields = QgsProcessingUtils.combineFields(source_fields, fields_to_join)

(sink, dest_id) = self.parameterAsSink(parameters, self.OUTPUT, context,
out_fields, source.wkbType(), source.sourceCrs())
out_fields, source.wkbType(), source.sourceCrs(), QgsFeatureSink.RegeneratePrimaryKey)
if self.OUTPUT in parameters and parameters[self.OUTPUT] is not None and sink is None:
raise QgsProcessingException(self.invalidSinkError(parameters, self.OUTPUT))

Expand Down

0 comments on commit f8d873c

Please sign in to comment.