• Vincent Pelletier's avatar
    ERP5Type.mixin.component: Avoid acquiring workflow_history. · ebeb7cb4
    Vincent Pelletier authored
    workflow_history attribute may not exist on bootstrapping (constructInstance),
    which could lead to acquisition, which could have further side-effects
    as this is called during dynamic class initialisation.
    Also, original code from CMFCore.WorkflowTool, from which this code is
    derived for bootstrap reasons, does the equivalent aq_base, so follow
    the same pattern.
    ebeb7cb4
component.py 16.1 KB