Bug report #16431

Cannot save empty selection in modelbuilder

Added by evangelos vafeiadis over 2 years ago. Updated about 2 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 2 years ago

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

Revision 8e3e30a2
Added by Alexander Bruy over 2 years ago

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

History

#1 Updated by evangelos vafeiadis over 2 years ago

  • Assignee set to evangelos vafeiadis

#2 Updated by Alexander Bruy over 2 years ago

  • Status changed from Open to Closed

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

  • Category set to Unknown

Also available in: Atom PDF