Commit 9d2805b0 authored by Jérome Perrin's avatar Jérome Perrin

reset _aq_dynamic when changing an interaction workflow.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9379 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bee765c3
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
$Id$ $Id$
""" """
from string import join, split, strip
from OFS.SimpleItem import SimpleItem from OFS.SimpleItem import SimpleItem
from Globals import DTMLFile, PersistentMapping from Globals import DTMLFile, PersistentMapping
from Acquisition import aq_inner, aq_parent from Acquisition import aq_inner, aq_parent
...@@ -37,6 +35,7 @@ from Products.DCWorkflow.Expression import Expression ...@@ -37,6 +35,7 @@ from Products.DCWorkflow.Expression import Expression
from Products.DCWorkflow.Transitions import TRIGGER_AUTOMATIC, TRIGGER_WORKFLOW_METHOD from Products.DCWorkflow.Transitions import TRIGGER_AUTOMATIC, TRIGGER_WORKFLOW_METHOD
from Products.ERP5 import _dtmldir from Products.ERP5 import _dtmldir
from Products.ERP5Type.Base import _aq_reset
class InteractionDefinition (SimpleItem): class InteractionDefinition (SimpleItem):
meta_type = 'Workflow Interaction' meta_type = 'Workflow Interaction'
...@@ -156,6 +155,8 @@ class InteractionDefinition (SimpleItem): ...@@ -156,6 +155,8 @@ class InteractionDefinition (SimpleItem):
self.actbox_name = str(actbox_name) self.actbox_name = str(actbox_name)
self.actbox_url = str(actbox_url) self.actbox_url = str(actbox_url)
self.actbox_category = str(actbox_category) self.actbox_category = str(actbox_category)
# reset _aq_dynamic method cache.
_aq_reset()
if REQUEST is not None: if REQUEST is not None:
return self.manage_properties(REQUEST, 'Properties changed.') return self.manage_properties(REQUEST, 'Properties changed.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment