Bug report #15154

Dissolve fails as nElement is not initialised

Added by Andrew Brown over 8 years ago. Updated about 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:2.14.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23093

Description

Relates to previous bug report 14612

Dissolve.py line 129 fails as nElement is not initialised. If fixed it by initialising nElement to 0.

To reproduce create a model which does a dissolve with Dissolve all set to No and specifying a field name.

QGIS 2.14.3 Windows 64 bit

Associated revisions

Revision 0b502c90
Added by Alexander Bruy over 8 years ago

[processing] add missed variable initialization (fix #15154)

History

#1 Updated by Alexander Bruy over 8 years ago

  • Status changed from Open to Closed

#2 Updated by Jürgen Fischer about 7 years ago

  • Category set to Unknown

Also available in: Atom PDF