From a4817975402481b7bb13e87974cfd2862dde1adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 16 Apr 2019 10:48:49 +0200 Subject: [PATCH] workflows: keep compatibility dict intact in display message action (#29951) --- wcs/workflows.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcs/workflows.py b/wcs/workflows.py index 344f80e1e..62f4bf467 100644 --- a/wcs/workflows.py +++ b/wcs/workflows.py @@ -2575,8 +2575,7 @@ class DisplayMessageWorkflowStatusItem(WorkflowStatusItem): if not (self.message and self.position == position and self.is_for_current_user(filled)): return '' - dict = {} - dict.update(get_publisher().substitutions.get_context_variables()) + dict = copy.copy(get_publisher().substitutions.get_context_variables()) dict['date'] = misc.localstrftime(filled.receipt_time) dict['number'] = filled.id handling_role = filled.get_handling_role()