Commit e92dbdaa authored by wenjie.zheng's avatar wenjie.zheng

Base.py: deploy getStateVaraible to get workflow state_var.

parent 9250473a
...@@ -3375,7 +3375,7 @@ class Base( CopyContainer, ...@@ -3375,7 +3375,7 @@ class Base( CopyContainer,
for workflow in workflow_tool.getWorkflowValueListFor(self): for workflow in workflow_tool.getWorkflowValueListFor(self):
if not isinstance(workflow, InteractionWorkflowDefinition) and \ if not isinstance(workflow, InteractionWorkflowDefinition) and \
not isinstance(workflow, InteractionWorkflow): not isinstance(workflow, InteractionWorkflow):
worflow_variable_list.append(self.getProperty(workflow.state_var)) worflow_variable_list.append(self.getProperty(workflow.getStateVariable()))
# then restart ingestion with new portal_type # then restart ingestion with new portal_type
# XXX Contribution Tool accept only document which are containing # XXX Contribution Tool accept only document which are containing
......
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