New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent creation of recursive models (or provide solution to break out of loops) #18423
Comments
Author Name: Victor Olaya (@volaya) mmm, actually it shouldn't cause error. The modeler is designed to allow nested models. So it's a bug, but the solution is not removing models in the list of algorithms in the model, but fixing it. |
Author Name: Anita Graser (@anitagraser) Sorry for being unclear :-) It's great that modeler allows nested models! I just wanted to suggest that it might make sense to check if the user is creating circular references in his models. If model A calls model A to get to its results, it won't ever stop, or is there a way to break out of such loops? |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Anita Graser (@anitagraser)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Victor Olaya (@volaya) fixed in #a549ded47bf6bfebc050d64502ac3dc8b9e921d6 |
Author Name: Victor Olaya (@volaya)
|
This still crashes QGIS (3.30) |
Author Name: Anita Graser (@anitagraser)
Original Redmine Issue: 9909
Affected QGIS version: 2.4.0
Redmine category:processing/modeller
Assignee: Victor Olaya
Currently, it is possible to include the model itself into the model workflow thus creating a model which calls itself. Of course this causes errors.
The text was updated successfully, but these errors were encountered: