diff --git a/CHANGES.rst b/CHANGES.rst index 2a75aee8..9014f054 100755 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -212,7 +212,7 @@ 2.5.6 (unreleased) ------------------ -- Nothing changed yet. +- Fetch check.column.key when running the modelchecker so checks don't fail on models.Pumpstation.type. 2.5.5 (2023-09-21) diff --git a/processing/schematisation_algorithms.py b/processing/schematisation_algorithms.py index fbe014f1..c4a787f2 100644 --- a/processing/schematisation_algorithms.py +++ b/processing/schematisation_algorithms.py @@ -210,7 +210,7 @@ def processAlgorithm(self, parameters, context, feedback): error_row.id, check.table.name, check.column.name, - getattr(error_row, check.column.name), + getattr(error_row, check.column.key), check.description(), ] )