Commit 8e18d032 authored by wenjie.zheng's avatar wenjie.zheng

InteractionWorkflow.py: do not compare title in showAsXML, because in some...

InteractionWorkflow.py: do not compare title in showAsXML, because in some case DC workflow's transition/ingeraction or state doesn't has title.
parent 64a3c7e1
...@@ -438,7 +438,7 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow): ...@@ -438,7 +438,7 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow):
# Define a list of property to show to users: # Define a list of property to show to users:
# It seems even in DC interaction workflow, creation guard hasn't been configured; # It seems even in DC interaction workflow, creation guard hasn't been configured;
# so it is not used? thus I didn't show creation guard as xml here. (zwj) # so it is not used? thus I didn't show creation guard as xml here. (zwj)
interaction_workflow_prop_id_to_show = sorted(['title', 'description', interaction_workflow_prop_id_to_show = sorted(['description',
'manager_bypass']) 'manager_bypass'])
# workflow as XML, need to rename DC workflow's portal_type before comparison. # workflow as XML, need to rename DC workflow's portal_type before comparison.
interaction_workflow = SubElement(root, 'interaction_workflow', interaction_workflow = SubElement(root, 'interaction_workflow',
......
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