Bug report #16431

Cannot save empty selection in modelbuilder

Added by evangelos vafeiadis over 7 years ago. Updated over 7 years ago.

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

Description

When executing a 'select by location' algorithm in modelbuilder, the result cannot be saved if the selection has 0 features. The error message is :

Error executing algorithm OUTPUT float division by zero See log for more details

Associated revisions

Revision 1ac053fc
Added by Alexander Bruy over 7 years ago

[processing] prevent division by zero in save selected features
algorithm (fix #16431)

Revision 8e3e30a2
Added by Alexander Bruy over 7 years ago

[processing] prevent division by zero in save selected features
algorithm (fix #16431)

History

#1 Updated by evangelos vafeiadis over 7 years ago

  • Assignee set to evangelos vafeiadis

#2 Updated by Alexander Bruy over 7 years ago

  • Status changed from Open to Closed

#3 Updated by Jürgen Fischer over 7 years ago

  • Category set to Unknown

Also available in: Atom PDF