** REQUIREMENTS **:
Install the Asistente LADM_COL plugin to be able to use a custom model (LADM_COL:ETL-model).
MATERIALS:
- Sample data (layers "data" and "group_party"): http://downloads.tuxfamily.org/tuxgis/tmp/ai/issue_modeler/issue_with_modeler.gpkg
- Sample model: http://downloads.tuxfamily.org/tuxgis/tmp/ai/issue_modeler/prueba_alfanum_ladmv_simplificado_v2.model3
EXPECTED EXECUTION: The following model should be executed in this order:
- Statistics by category
- ETL-model
- Join attributes by value
because the third algorithm in the model requires an input from the second one (ETL).
PROBLEM:
However, the modeler seems to get confused and does not wait for the ETL output. Instead, it executes the 3rd algorithm in the first step, generating an unexpected output for the model.
WHY?
The ETL algorithm has a custom OUTPUT parameter that is passed as an INPUT.
STEPS TO REPRODUCE
- Load the .model3 file into QGIS Processing.
- Load the two layers "data" and "group_party".
- Execute the model and choose "data" layer as "B_agrupacion_in" input and "group_party" for "F_la_agrupacion_out" input.
See screenshot: http://downloads.tuxfamily.org/tuxgis/tmp/ai/issue_modeler/model_paremeters.png
If you see the log, the third alg is executed first, which should not happen.
See screenshot: http://downloads.tuxfamily.org/tuxgis/tmp/ai/issue_modeler/log_issue_modeler.png