From 2994f7713b0199376465dc134dc3cd3b8b7a670c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Thu, 1 Jun 2017 14:46:43 +0200 Subject: [PATCH] Hotfix for issue #3282. (projector autoupdate problem by deleting projected object) --- openslides/utils/collection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openslides/utils/collection.py b/openslides/utils/collection.py index da373be74..9c1dad52e 100644 --- a/openslides/utils/collection.py +++ b/openslides/utils/collection.py @@ -106,7 +106,9 @@ class CollectionElement: if method == 'get_restricted_data': container = self else: - container = self.get_full_data() + # TODO: Find a better solution for this hotfix, see issue #3282. + if not self.is_deleted(): + container = self.get_full_data() # End of hack if not self.is_deleted():