Commit 09ce93bc authored by Arnaud Fontaine's avatar Arnaud Fontaine

Perform an _aq_reset when resetting all classes, necessary to fix

workflow because accessors are wrapped in WorkflowMethod by
_aq_dynamic



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39520 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 316577a6
......@@ -35,6 +35,7 @@ from types import ModuleType
from dynamic_module import registerDynamicModule
from lazy_class import generateLazyPortalTypeClass
from Products.ERP5Type.Base import _aq_reset
from Products.ERP5Type.Globals import InitializeClass
from Products.ERP5Type.Utils import setDefaultClassProperties
from Products.ERP5Type import document_class_registry, mixin_class_registry
......@@ -316,3 +317,7 @@ def synchronizeDynamicModules(context, force=False):
# Clear accessor holders of filesystem Property Sheets
_clearAccessorHolderModule(erp5.filesystem_accessor_holder)
# Necessary because accessors are wrapped in WorkflowMethod by
# _aq_dynamic (performed in createAccessorHolder)
_aq_reset()
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