Commit 31fe330f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* Do not invoke...

* Do not invoke simulation_movement_causality_interaction_workflow/interactions/calculate_causality for temporary documents.

Well, calling 'python:not here.isTempDocument()' needs a bit of time. So it becomes a bit slower for non-temporary documents. If we often want to have 'isTempDocument()' check for interactions, adding 'Ignore Temporary Document' option in InteractionDefinition class can be a good idea to reduce the load of preparing python expresison context.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35995 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57435abd
......@@ -42,7 +42,7 @@
<item>
<key> <string>guard</string> </key>
<value>
<none/>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
......@@ -84,4 +84,38 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>expr</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:not here.isTempDocument()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2010-06-04 kazuhiko
* Do not invoke simulation_movement_causality_interaction_workflow/interactions/calculate_causality for temporary documents.
2010-05-28 kazuhiko
* Rename 'force_update' property to 'update_always'.
......
770
\ No newline at end of file
771
\ No newline at end of file
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