diff options
-rw-r--r-- | CHANGES.md | 1 | ||||
-rw-r--r-- | ishtar_common/views_item.py | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES.md b/CHANGES.md index 9b13d7131..28724550c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,7 @@ Ishtar changelog - Cascade update from warehouse to containers (refs #5432) - Sheets: fix history view with associated geo - Containers: remove division search +- Importer export: fix pre_importer call v4.0.43 - 2023-03-17 -------------------- diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index f69b6883e..a4ebd170c 100644 --- a/ishtar_common/views_item.py +++ b/ishtar_common/views_item.py @@ -549,7 +549,10 @@ def _get_values(request, val): new_vals = [] for v in vals: if callable(v): - v = v() + try: + v = v() + except TypeError: + continue try: if ( not isinstance(v, (models.Person, models.Organization)) |