diff --git a/CHANGES.rst b/CHANGES.rst index 70466d24..3f6d0c67 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changelog 6.2.5 (unreleased) ------------------ -- Nothing changed yet. +- check-servizi: fixed check on relation title. + [daniele] 6.2.4 (2024-04-16) diff --git a/src/design/plone/contenttypes/browser/utils/check_servizi.py b/src/design/plone/contenttypes/browser/utils/check_servizi.py index bfe3fd5c..34f9e390 100644 --- a/src/design/plone/contenttypes/browser/utils/check_servizi.py +++ b/src/design/plone/contenttypes/browser/utils/check_servizi.py @@ -96,6 +96,8 @@ def get_relation_title(self, information_dict, label): for item in information_dict[label]: if not item: continue + if not item.to_object: + continue result = result + " " + item.to_object.title return result