Error when making buffer from empty layer with 'Dissolve result' option checked #46396
Closed
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
What is the bug or the crash?
When trying to make a buffer from empty layer (produced in processing model for example) with 'Dissolve result' option checked I gain no result and error in the log:
No error if 'Dissolve result' option stays unchecked.
The problem occurs only with empty layer.
Steps to reproduce the issue
Screen.Recording.2021-12-07.a_t.13.15.16.mov
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Supported QGIS version
New profile
Additional context
Not OS specific - I get the same behaviour on Windows 10 also.
A workaround with the current behaviour for processing models is to count features in a layer before making a dissolved buffer using Basic statistics for fields algorithm. And check 'Dissolve result' option only when there are more than zero features in the layer.
The text was updated successfully, but these errors were encountered: