Bug report #15828

"Join by attributes" generates incomplete results

Added by Krzychu Sochier almost 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Processing/QGIS
Affected QGIS version:2.18.0 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:23748

Description

The function "Join by attributes" in a QGIS standalone script fails to generate complete data in the output layer. The output layer always contains only 1 feature, despite the fact that all the features in the input layers should be contained. The issue appeared after upgrading QGIS 2.14 to 2.18. Before the upgrade the function had worked fine. Tested with multiple data sets.

More details and code provided on:
http://gis.stackexchange.com/questions/216983/function-join-attributes-by-location-in-pyqgis-script-generates-incomplete-resul

History

#1 Updated by Krzychu Sochier almost 8 years ago

UPDATE:
I should add that the function works correctly in QGIS 2.18 in the GUI as well as in the script console in QGIS window.

#2 Updated by Alexander Bruy almost 8 years ago

  • Pull Request or Patch supplied changed from Yes to No

#3 Updated by Alexander Bruy over 7 years ago

  • Category set to Processing/QGIS

#4 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#5 Updated by Alexander Bruy over 7 years ago

  • Description updated (diff)
  • Subject changed from PyQGIS "Join by attributes" function generates incomplete results to "Join by attributes" generates incomplete results

#6 Updated by Giovanni Manghi over 7 years ago

  • Priority changed from Normal to High
  • Regression? changed from No to Yes

#7 Updated by Giovanni Manghi over 7 years ago

  • Status changed from Open to Feedback

Is this true on qgis 2.18.7 and/or master?

#8 Updated by Alexander Bruy over 7 years ago

Works fine with latest 2.18. Please check and provide reproducible testcase if it does not work for you.

#9 Updated by Giovanni Manghi over 7 years ago

  • Status changed from Feedback to Closed
  • Resolution set to not reproducable

Closing for lack of feedback.

Also available in: Atom PDF